User:Pradu87/Difference between oops and procedural language

difference between object oriented program and procedural oriented program
Procedure oriented programming - Gives importance to algorithm rather than data. It follows Top-down structures.

example : Pascal and C

Object oriented programming - Gives importance to data rather than algorithm. It follows Bottom-up structures.Every thing is viewed as an object.It includes features like data hiding polymorphism encapsulation and message passing.

example : C++ and Ja