Need for Object Oriented Programming
Object oriented programming scales very well from the most trivial of problems to the most complex tasks. It provides a form of abstraction that resonates with techniques people use to solve problems in everyday life.
Basic Terminologies:
Object:
It’s the instance of a class/ it’s the working entity of a class.
Class:
It is a template or blue print about the capability of what an object can do.
Method:
The behaviours of a class. It tells what a method can do.
Instance:
Object and Instance both are same with small difference.
Benefits of Object Oriented Programming
1. Simplicity :
Software objects model real world objects, so the complexity is reduced and the program structure is very clear.
2. Modularity :
Each object forms a separate entity whose internal workings are decoupled form parts
other of system.
3. Modifiability :
It is easy to make minor changes in the data representation or the procedures in an OOP program. Changes inside a class do not affect any other part of program , since the only public interface that the external world has to a class is through the use of methods.
4. Extensibility :
Adding new features or responding to changing operating environments can be solved by introducing a few object and modifying some existing ones.
5. Maintainability :
Objects can be maintained separately , making locating and fixing problems easier.
6. Re-Usability :
objects can be reused in different programs.


0 Comments