What are the main features of OPPs programming concepts? Ravi Vishwakarma35323-Aug-2021What are the main features of OPPs programming concepts?c#c# java python Updated on 23-Aug-2021
Ashutosh Kumar Verma
31-Aug-2021Features 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.