OBJECT ORIENTED PROGRAMMING CONCEPTS(OOPS):
The various object oriented programming concepts are:
The various object oriented programming concepts are:
- Encapsulation
- Inheritance
- Polymorphism
- Encapsulation can be achieved with help of a class.
- Using encapsulation we can improve the maintenance if the application.
- Using encapsulation we can implement abstraction (data hiding) which will decide what to hide and what to present that is we can implement security.
- Using encapsulation we can isolate the members from one class to another class and thereby reduce the code debugging time.
- Using Inheritance we can achieve reusuability and thereby reduce the code size and reduce the development time of the application.
- Using polymorphism we can achieve flexibility where single entity can perform different operations according to the requirements.
No comments:
Post a Comment