Difference Between OOP and POP



OOP

OOP, refers to Object Oriented Programming and its deals with objects and their properties. Major concepts of OOPs are −

  • Class/objects

  • Abstraction

  • Encapsulation

  • Polymorphism

  • Inheritance

POP

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.

Sr. No. Key OOP 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
Updated on: 2019-11-27T07:04:54+05:30

21K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements