Difference between OOP and POP

Sr# Procedure-Oriented Language Object-Oriented Language
1. In POP, importance is given to the sequence of things to be done i.e. algorithms. In OOP, importance is given to the data.
2. In POP, larger programs are divided into functions. In OOP, larger programs are divided into objects.
3. In POP, most functions share global data i.e data move freely around the system from function to function. In OOP mostly the data is private and only functions inside the object can access the data.
4. POP follows a top down approach in problem solving. OOP follows a bottom up approach.
5. In POP, adding of data and function is difficult. In OOP, it is easy.
6. In POP, there is no access specifier. In OOP, there are public, private and protected specifiers.
7. In POP, operator cannot be overloaded. In OOP, operator can be overloaded.
8. In POP, Data moves openly around the system from function to function. In OOP, objects communicate with each other through member functions. 

1 Comment

Leave a Reply