OOP

Procedural Oriented Programming (POP) vs Object-Oriented Programming (OOP)

Story Highlights
  • Difference Between Procedural Oriented Programming (POP) and Object-Oriented Programming (OOP)
Procedural Oriented ProgrammingObject-Oriented Programming
It is a procedural model-oriented programming language.It is an object based programming language.
It is known as POP.It is known as OOP.
In procedural programming, the program is divided into small parts called functions.
It is Structure/Procedure oriented.
In object-oriented programming, the program is divided into small parts called objects. It is Object Oriented.
It follows a top-down approach.It follows a bottom-up approach.
Access modifiers are not supported.Access modifiers (like private, public, protected, etc.) are supported.
Adding new data and functions is not easy.Adding new data and function is easy.
It does not have any proper way of hiding data so it is less secure.It provides data hiding so it is more secure.
Overloading is not possible in POP.Overloading is possible in OOP.
There is no concept of data hiding and inheritance.The concept of data hiding and inheritance is used.
The function is more important than the data.Data is more important than function.
It is based on the unreal world.It is based on the real world.
If the size of the problem is small, POP is preferred.If the size of the problem is big, OOP is preferred.
It uses the concept of procedure abstraction.It uses the concept of data abstraction.
Code reusability absent in POP.Code reusability present in OOP.
Procedural Oriented Programming: FORTRAN, ALGOL, COBOL, BASIC, Pascal and C etc.Object-Oriented Programming: Java, C++, C#, Python, PHP, VB.NET and C#.NET etc.

Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also
Close
Back to top button
History Of 1st July Get ready for the ICC Men’s Cricket World Cup 2023! Yoga according to the Bhagavad Gita