OOP(Object Oriented Programming)
Introduction of OOP :-
- It is real-life programming system where real-life are implemented in system development.
- While OOP is creating object that contain both data and functions.
- It is easily development for larger complex applications, So this programming system begins from the object that means developments start the from the structure "Bottom to Top".
- Object are independence and object performance communications with via message passing so development and maintenance easily.
- It is create all data and function are very secure programming system.
- In OOP hide the properties the object from the external words with provides easily interface for access.
- Some advantage just like that " Better code re-usability when used object and inheritances".
- Principle of data hiding helps build secure system,
- Multiple Objects can co-exist without any interface,
- Software Complexity can be easily managed.
Features of OOP:
- Class
- Objects
- Data Abstractions and Encapsulation
- Inheritance
- Polymorephism
- Dynamic Binding
- Message Passing
- Abstract
- GUI Graphics User Interface, etc.
Difference Between POP and OOP:
- Consists of writing a set of instruction for the computer to follow.
- The Main aim of on functions and not on the flow of data.
- Function can either use local or global data.
- Data moves openly from function to functions.
- Works on the concept of class and objects.
- A class is if a templates to create objects then can access any type of data in run time declared.
- Treats data as a critical elements.
- Decompose the problems in objects and builds data and functions around the objects.
- It is provides access specifiers.
POP |
OOP |
It means Producers
Oriented Programming. |
It means Object
Oriented Programming. |
It is work on
data function. |
But it is
work on function and Object data. |
POP follow Top
to down approach. |
OOP follows
Bottom to Up approach. |
It is less
secure. |
It is highly
secure. |
It is deals
with algorithm. |
It is deals with
data. |
It’s take very
less memory. |
It is take
more than memory. |
There is no available
any access specifiers. |
There is available three or four access specifiers. (Public, Protected, Private, and Default) |
In POP can’t
Perform Overloading Concepts. |
POP can Perform
Overloading Concepts. |
POP can
perform structure program. |
OOP Can perform
Object and Class. |
In POP can’t used data hiding perform. |
But OOP can
perform data hiding concepts use Encapsulation. |
POP can’t
solve big problem. |
POP can’
solve big problem. |
Program is
divided into small parts called function. |
Program is
divided into small parts called Objects. |
Example of
POP: PASCAL, C, FORT-RAN COBOL. |
Example of OOP:-
C++, Java,JavaScript, Python. |
I Hope This Post Is helpful for you.
Comments