Basic and Advance Programming Question:

What is the difference between procedural and object-oriented programs?

Tweet Share WhatsApp

Answer:

1. In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOP program, unit of program is object, which is nothing but combination of data and code.

2. In procedural program, data is exposed to the whole program whereas in OOPs program, it is accessible with in the object and which in turn assures the security of the code.

Download Programming PDF Read All 34 Programming Questions
Previous QuestionNext Question
What are the advantages of OOPL in a programming language?How many ways can an argument be passed to a subroutine in programming?