Object Oriented Programming   v/s   Procedural Programming

Object Oriented Programming v/s Procedural Programming

ยท

1 min read

Object Oriented Programming

  • Here emphasis is on objects.

  • It follows bottom up approach in program design.

  • Its data hiding feature prevents accidental change in data.

  • Features of object oriented programming are Encapsulation , Abstraction , Inheritance and Polymorphism.

Procedural Programming

  • Here emphasis is on doing things (functions).

  • It follows top-down approach in program design.

  • Here Presence of Global variables increase chances of accidental change in data.

  • Features like Encapsulation , Abstraction , Inheritance and Polymorphism are not available in this type of programming.

ย