Procedural and Object-oriented programming

Write the difference between the Procedural and Object-oriented programming?

E

Expert

Verified

Procedural programming is based on modular approach in which larger programs are broken into the procedures. Each procedure is a set of instructions which is executed one after the other. Whereas, OOP is based on the objects. An object consists of several elements, like variables and methods.

Access modifiers are not used in the procedural programming, which infers that entire data can be easily accessed freely anywhere within the program. In OOP, the scope of a particular data can be specified by using access modifiers that is public, private, and internal, protected, and protected internal.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.