Wednesday, 23 April 2014

Difference Between Procedure Oriented Programming & Object Oriented Programming

Q:-What Is Difference Between  Procedure Oriented Programming & Object Oriented Programming


Procedure Oriented Programming
Object Oriented Programming
1
In POP, program is divided into small parts called functions.
1
In OOP, program is divided into parts called objectes.
2
POP follows Top Down approach.
2
OOP follows Bottom Up approach.
3
POP does not have any access specifier.
3
OOP has access specifies named Public, Private, Protected, etc.
4
POP does not have any proper way for hiding data so it is less secure.
4
OOP provides Data Hiding so provides more security
5
In POP, Overloading is not possible.
5
In OOP, overloading is possible in the form of Function Overloading and Operator Overloading.
6
Example of POP are : C, VB, FORTRAN, Pascal.
6
Example of OOP are : C++, JAVA, VB.NET, C#.NET.




No comments:

Post a Comment