Procedural and object-oriented programs

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

E

Expert

Verified

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

©TutorsGlobe All rights reserved 2022-2023.