by Dinesh Thakur Category: Object-oriented programming (OOP)

 

Procedure oriented programming

 

Object Oriented programming

 

 

Emphasis is on doing things (algorithms)

Large Programs are divided into smaller programs known as functions.

 

Most of the functions share global data.

 

Data move openly around the system from function to function.

 

Functions transform data from one form to another.

 

Employs top down approach in program design.

 

 

 

Emphasis is on data rather than on procedure

Programs are divided into objects

Data structures are designed in such a way that it characterizes the object

 

Functions that operate on data are ties together in a data structure called class

 

Data is hidden and cannot be accesses by external functions.

 

Objects may communicate to each other with the help of functions.

 

New data and functions can be easily added whenever necessary

 

Follows bottom-up approach.

 

 

Related Articles C++ Programming




About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.



Related Articles