What are the main features of OPPs programming concepts ?
What are the main features of OPPs programming concepts? Ravi Vishwakarma 833 23 Aug 2021 What are the main features of OPPs programming concepts?
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.