Difference between Procedural and Object Oriented Programming
Contents
Comparison between Procedural and Object Oriented Programming
The Key Difference between Procedural and Object Oriented Programming is that, In procedural programming, the program is divided into small parts called functions. Whereas, In Object-oriented programming, the program is divided into small parts called objects.

Comparison Chart
Procedural Oriented Programming | Object-Oriented Programming |
---|---|
In POP, programs are divided into reusable units called function. | In OOP, programs are divided into reusable units called object. |
POP follows a top-down approach. | OPP follows a bottom-up approach. |
No access specifier in POP. | private, public, protected, etc. specifier in OOP. |
In POP data can moves freely from function to function. | In OOP, data can move freely with each other through member functions. |
In POP, there is no concept of data hiding and inheritance. | In OOP, the concept of data hiding and inheritance is used. |
In POP function overloading is not allowed. | In the OOP function overloading is allowed. |
Example: C, FORTRAN, Pascal, Basic, etc. | Example: C++, Java, Python, C#, etc. |