Object-oriented programming and procedural

Differentiate between object-oriented programming and procedural?

E

Expert

Verified

Procedural programming is a concept which is based on a modular approach in which larger programs are broken into procedures. Every procedure is the set of instructions which are executed one after other. Or we can say OOP is based on objects. Object contains various elements, like variables and methods.

The Access modifiers are not used in procedural programming, that implies that entire data can be accessed freely anywhere inside a program. In OOP, we can specify a scope of the particular data by using the access modifiers - private, public, internal, protected, and protected internal.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.