Difference Between Procedure Oriented Programming (POP) & Object
Oriented Programming (OOP)
Divided
Into
Procedure Oriented
Programming
Object Oriented Programming
In POP, program is divided into small
In OOP, program is divided into parts called objects.
parts called functions.
Importance In POP,Importance is not given to data
In OOP, Importance is given to the data rather than
but to functions as well as sequence of
procedures or functions because it works as a real
actions to be done.
world.
POP follows Top Down approach.
OOP follows Bottom Up approach.
Approach
Access
POP does not have any access specifier. OOP has access specifiers named Public, Private,
Specifiers
Protected, etc.
Data
In POP, Data can move freely from
In OOP, objects can move and communicate with
Moving
function to function in the system.
each other through member functions.
To add new data and function in POP is
OOP provides an easy way to add new data and
not so easy.
function.
Data
In POP, Most function uses Global data
In OOP, data can not move easily from function to
Access
for sharing that can be accessed freely
function,it can be kept public or private so we can
Expansion
from function to function in the system. control the access of data.
Data
Hiding
POP does not have any proper way for
OOP provides Data Hiding so provides more
hiding data so it is less secure.
security.
Overloadin In POP, Overloading is not possible.
g
In OOP, overloading is possible in the form of
Function Overloading and Operator Overloading.
Examples
Example of POP are : C, VB, FORTRAN,
Pascal.
Example of OOP are : C++, JAVA, VB.NET, C#.NET.