Procedural and object-oriented programs

Illustrate the difference between the procedural and object-oriented programs in brief.




In procedural program, programming logic follows some procedures and the instructions are executed one after the other. In OOP program, unit of program is object, that is nothing however the combination of data and code.

In procedural program, data is exposed to the entire program while in OOPs program, it is accessible within the object and that in turn makes sure the security of code.

   Related Questions in Programming Languages

2015 ┬ęTutorsGlobe All rights reserved. TutorsGlobe Rated 4.8/5 based on 34139 reviews.