OOP, refers to Object Oriented Programming and its deals with objects and their properties. Major concepts of OOPs are −
POP, refers to Procedural Oriented Programming and its deals with programs and functions. Programs are divided into functions and data is global.
Following are the important differences between OOP and POP.
|1||Definition||OOP stands for Object Oriented Programing.||POP stands for Procedural Oriented Programming.|
|2||Approach||OOP follows bottom up approach.||POP follows top down approach.|
|3||Division||A program is divided to objects and their interactions.||A program is divided into funtions and they interacts.|
|4||Inheritance supported||Inheritance is supported.||Inheritance is not supported.|
|5||Access control||Access control is supported via access modifiers.||No access modifiers are supported.|
|6||Data Hiding||Encapsulation is used to hide data.||No data hiding present. Data is globally accessible.|
|7||Example||C++, Java||C, Pascal|