What are the main features of OPPs programming concepts?

What are the main features of OPPs programming concepts?

Last updated:8/23/2021 6:49:04 AM

1 Answers

Ashutosh Kumar Verma
Ashutosh Kumar Verma

Features of OOPs in programming-

    Mostly there are 4 main features of oops concepts are used in programming which are

Abstraction-

It is used to hide the unnecessary data and show only essential data to the user.

Encapsulation-

It is used when a group of related methods, properties, and fields are treated as a single object is called Encapsulation.

Polymorphism-

When each class have same name methods and all methods are used for different purpose.

Inheritance-

When need to access all the features of base class in its derived class for using then it is used. It reduce the length of code. 

Answer