Search This Blog

Friday 15 June 2012

Difference between POP & OOP


No.
Procedure oriented programming (POP)
Object oriented programming (OOP)
 1
POP emphasis on algorithms (procedure)
OOP emphasis on data rather than procedure.
2.
Large programs are divided into smaller programs known as functions.
Programs are divided into objects.
3.
They have not facility to hide data.
They have facility to hide data from outside world.
4.
Function can transfer data from one function to another and one form to another form.
Objects can communication with each other using functions.
5.
It does not have powerful features like operator overloading, inheritance etc.
It contains powerful features like operator overloading, inheritance.
6.
For design program it uses top-down approach.
For design program it uses bottom-up approach.
7.
Examples: C, COBOL, FORTRAN etc.
Examples: C++,C#,JAVA etc.

No comments:

Post a Comment