Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Explain The Properties Of A Object Oriented Programming Language.?

user-image
Question added by Abou Bakr Siddik Benotmane
Date Posted: 2018/04/08
Ambreen Khaliq
by Ambreen Khaliq , IT TEACHER , Ambreen Khaliq

define not only the data type of a data structure, but also the types of operations that can be applied.a programming methodology based on objects, instead of just functions and procedures. These objects are organized into classes, which allow individual objects to be group together. Most modern programming languages including Java, and PHP, are object-oriented languages, and many older programming languages now have object-oriented versions. Each object has a structure similar to other objects in the class, but can be assigned individual characteristics. An object can also call functions, or methods, specific to that object. For example, the source code of a video game may include a class that defines the structure of characters in the game. 

Zeeshan  Haidar
by Zeeshan Haidar , Hadi Tv , Hadi Tv

Properties of Object Oriented Programming There are three major features in object-oriented programming: encapsulation, inheritance and polymorphism.

Sa'ad Awad
by Sa'ad Awad , Computer Teacher , British Educational KG & Schools

Encapsulation

Abstraction

Inheritance

Waqas Rasheed
by Waqas Rasheed , Officer Application Support Analyst , Adamjee Insurance Co. Ltd

Objection Oriented Programming language has properties

 

Encapsulation Enforces Modularity:

Encapsulation refers to the creation of self-contained modules that bind processing functions to the data. These user-defined data types are called "classes," and one instance of a class is an "object." 

Inheritance Passes "Knowledge" DownClasses are created in hierarchies, and inheritance allows the structure and methods in one class to be passed down the hierarchy. That means less programming is required when adding functions to complex systems.

Polymorphism Takes any Shape Object-oriented programming allows procedures about objects to be created whose exact type is not known until runtime. For example, a screen cursor may change its shape from an arrow to a line depending on the program mode. 

Abou Bakr Siddik Benotmane
by Abou Bakr Siddik Benotmane

Answer :

  • Encapsulation: The data that are related to the specific object are contained inside the object structure and hidden from the other entities of the environment.  
  • Polymorphism: The mechanism by which the same pointer can refer to different types of objects, which are basically linked by some generic commonality.
  •  Abstraction: Hiding the data and implementation details from the real objects. The framework of reference is still present to be used by the other objects.
  •  Inheritance: The way to take out the common features and have them as separate object entities only to be reused by the other objects in a modular fashion.

More Questions Like This