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

  • Q : Define Continue statement Continue

    Continue statement: A statement which might only be employed within the body of a loop. In case of a while loop or do loop, control passes instantly to the loop's terminating test. In case of a for loop, the control passes to the post-body update expr

  • Q : What are tools require View XHTML

    What are tools require View XHTML Documents?

  • Q : Define the term Return value Define the

    Define the term Return value: This is the value of the expression employed in a return statement.

  • Q : What is an Instruction set Instruction

    Instruction set: The set of instructions which characterize a specific Central Processing Unit. The programs written in the instruction set of one type of CPU can’t usually be run on any other kind of CPU.

  • Q : What is Super type Super type : It is a

    Super type: It is a type with a child sub type. The sub-type or super-type relationship is more common than the sub-class or super-class relationship. An interface which is implemented by the class is a super type of the class. The interface which is

  • Q : Risks associated while porting a c pre

    Q. 1 Explain number of issues which are faced while porting a c pre processor in java. These issues always have the probability that the code will show errors while trying to execute the code in java. 

    Q.2 : Software Requirement Specification or Requirements for the studen

  • Q : Inventory management system in UML


    The Hatcher Company is in the process of developing a new inventory management system.  One of the event handling processes in that system is Receive Supplier Shipments.  The (inexperie

  • Q : What is Behavior Behavior : It is the

    Behavior: It is the methods of a class which implement its behavior. A particular object's behavior is a mixture of the method definitions of its class and the present state of the object.

  • Q : Who is liable for XML Who is liable for

    Who is liable for XML?

  • Q : What are the examples of microkernel

    What are the examples of microkernel?

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