Pages

get our extension

Search program

Monday, 12 August 2013

Difference between Procedure Oriented Programming (POP) and Object Oriented Programming(OOP)



        Procedure Oriented Programming(POP)
Object Oriented  Programming(OOP)
In POP, program is divided into small parts called functions.
In OOP, program is divided into parts called objects.
POP follows Top Down approach.
OOP follows Bottom Up approach.
POP does not have any access specifier.
OOP has access specifiers named Public, Private, Protected, etc.
POP does not have any proper way for hiding data so it is less secure.
OOP provides Data Hiding so provides more security.
In POP, Overloading is not possible.
In OOP, overloading is possible in the form of Function Overloading and Operator Overloading.
In POP, Most function uses Global data for sharing that can be accessed freely from function to function in the system.
In OOP, data can not move easily from function to function,it can be kept public or private so we can control the access of data.
Example of POP are : C, VB, FORTRAN, Pascal.
Example of OOP are : C++, JAVA, VB.NET, C#.NET.

No comments:

Post a Comment