Oop offers several benefits to both the program designer and the user. Object-oriented contributes to the solution of many problems associated with the development and quality of software products. The principal advantages are
- Re-usability: In OOP programs, functions and modules that are written by a user can be reused by other users without any modification.
- Inheritance: Through this we can eliminate redundant code and extend the use of existing classes.
- Data Hiding: The programmer can hide the data and functions in a class from other classes. It helps the programmer to build the secure programs.
- Reduced complexity of a problem: The given problem can be viewed as a collection of different objects. Each object is responsible for a specific task. The problem is solved by interfacing the objects. This technique reduces the complexity of the program design.
- Easy to Maintain and Upgrade: OOP makes it easy to maintain and modify existing code as new objects can be created with small differences to existing ones. Software complexity can be easily managed.
- Message Passing: The technique of message communication between objects makes the interface with external systems easier.
- Modifiable: it is easy to make minor changes in the data representation or the procedures in an Object-Oriented program. Changes inside a class do not affect any other part of a program, since the only public interface that the external world has to a class is through the use of methods.
You must log in to post a comment.