Difference between OOP and POP

Computer EngineeringComputer NetworkMCA

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.KeyOOPPOP
1DefinitionOOP stands for Object Oriented Programing.POP stands for Procedural Oriented Programming.
2ApproachOOP follows bottom up approach.POP follows top down approach.
3DivisionA program is divided to objects and their interactions.A program is divided into funtions and they interacts.
4Inheritance supportedInheritance is supported.Inheritance is not supported.
5Access controlAccess control is supported via access modifiers.No access modifiers are supported.
6Data HidingEncapsulation is used to hide data.No data hiding present. Data is globally accessible.
7ExampleC++, JavaC, Pascal
raja
Published on 27-Nov-2019 07:03:38
Advertisements