Features of OOPs

State the basic features of OOPs.

E

Expert

Verified

Following are the four basic features of OOPs:

a) Abstraction -  It refers to the practise of revealing only the appropriate and essential data to the users without presenting superfluous information.

b) Polymorphism - It permits you to use an entity in the multiple forms.

c) Encapsulation -  It avoids the data from unwanted access by binding code and data in single unit known as object.

d) Inheritance - It provides the reusability of code and removes the use of redundant code. It is the property through which a child class attains all the features well-defined in its parent class. Whenever a class inherits the properties of other class, class which is inheriting the properties is known as a derived class and class which allows inheritance of its common properties is termed as a base class.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.