logo

Object-Oriented Programming Concepts

   

Added on  2020-02-19

8 Pages1494 Words69 Views
 | 
 | 
 | 
Running head: OBJECT-ORIENTED LANGUAGE Object-Oriented LanguageName of the student:Name of the university:Author Note
Object-Oriented Programming Concepts_1

1OBJECT-ORIENTED LANGUAGEThe required definitions are described in the following:1. Procedural Programming:The procedural programming refers to the subtype of the imperative programming as aprogramming paradigm. This is based on the idea of the procedure calls where the statements getstructured into various processes. These processes are also known as functions or subroutines(Schuster et al., 2015). 2. Object Oriented Programming:It is the programming language model that has been organized across objects. This is done onlogic, instead of the data and actions. Here not only the data types of the data structure are defined,but also the functions that are applied to data structure. Java, Curl, Smalltalk and Delphi falls underthe examples of object oriented programming. 3. Object:This indicates the special instance of the class. It could be the combination of variable, datastructure and functions (Dennis, Wixom & Tegarden, 2015). For example the object with the namefield set to “Joseph” could the instance of the class Employees. 4. Class:The class is the extensible template of the program-code to create objects. This delivers theinitial members variables and the implementation of the member function or methods.
Object-Oriented Programming Concepts_2

2OBJECT-ORIENTED LANGUAGE5. Attribute:It is the specification defining the property of any element, file or object. Regarding claritythey are considered to be the metadata (Smith, 2015). 6. Method:The method is the procedure related with the message and any object (Zeigler, 2014).7. Constructor:It is the special method of any structure or class initializing the object of that type. Theconstructor is the instant method having same name as its class. It could be utilized for setting valuesof the object’s members. This is either user-defined or default.8. Polymorphism:This indicates the ability of the programming language to process the objects differently.This depends in their class or data type. To be more particular, this is the ability for redefining themethods for the derived classes. 9. Inheritance: Inheritance has been enabling the new objects to acquire the properties of the current objects.The class used as the basis for the inheritance id the base or super class (Liang, 2013). Classinheriting from any super class is the derived or subclass.
Object-Oriented Programming Concepts_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents