Difference between Procedure Oriented Programming (POP) & Object-Oriented Programming (OOP)

 Ans-:

Procedure Oriented Programming

Object Oriented Programming

In POP, program is divided into small parts called functions.

In OOP, program is divided into parts called objects.

POP follows Top-Down approach. POP does not have any access specifies.

OOP follows Bottom-Up approach, and it has access specifiers named Public, Private, Protected, etc.

In POP, Data can move freely from function to function in the system.

In OOP, objects can move and communicate with each other through member functions.

In POP, most function uses Global data for sharing that can be accessed freely from function to function in the system.

In OOP, data cannot move easily from function to function, it can be kept public or private so we can control the access of data.

In POP, Overloading is not possible.

In OOP, overloading is possible in the form of Function Overloading and Operator Overloading.

Example: C, VB, FORTRAN, Pascal.

Example: C++, JAVA, VB.NET, C#.NET.

Post a Comment

Thankyou

Previous Post Next Post