1 Answers

Option 3 : A and D only

Essential features of OOP:

Inheritance: forming a new class from an existing class. It helps to reuse code.  

Abstraction: Provide only essential information to the outside world and hide background details.  

Overloading: specify more than one definition for a function name or an operator in the same scope.

Polymorphism: A call to a member function will invoke a different function depending on the type of object that invokes the function.

Encapsulation: Binding data and functions accessing the data together and that keeps both safe from outside interference and misuse.

4 views

Related Questions