(Solved):Discuss the Following Basic Concepts of Object Oriented Programming. Class, Object, Constructor, Inheritance, Polymorphism, Encapsulation, Abstraction, Access Modifiers, Class Mem… View Answer…

 

Question

Discuss the Following Basic Concepts of Object Oriented Programming.

-Class,

-Object,

-Constructor,

-Inheritance,

-Polymorphism,

-Encapsulation,

-Abstraction,

-Access Modifiers,

-Class Members and Destructor.

 

EXPERT ANSWER

Concepts of Object-oriented Languages:

Class: A class is the building block or skeleton that is designed with several data and functions performing specific functions. It is basically the concept of gathering and integrating the characteristics and behaviors of some elements or objects.

For example, a class ‘Person’ can be designed with attributes name, age, height.

Scroll to top