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


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.



Explore posts in the same categories: Object Oriented Interview Questions


BOOKMARK THIS : del.icio.us | Digg it | Furl | reddit |


Related Questions :

  • Object Oriented : Essentials and History
  • An object-oriented programming language (also called an OO language) is one that allows or encourages, to some degree, object-oriented programming...
  • what is the difference between Procedural and OOPs?
  • a) In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOPs program,...
  • List out some of the object-oriented methodologies.
  • Object Oriented Development (OOD) (Booch 1991,1994). Object Oriented Analysis and Design (OOA/D) (Coad and Yourdon 1991). Object Modelling Techniques ...
  • What is Set-at-a-time or Set-oriented?
  • The High level or Non-procedural DML can specify and retrieve many records in a single DML statement. This retrieve of...
  • Is Windows NT a full blown object oriented operating system? Give reasons.
  • No Windows NT is not so, because its not implemented in object oriented language and the data structures reside within...
  • Is Windows NT a full blown object oriented operating system? Give reasons.
  • No Windows NT is not so, because its not implemented in object oriented language and the data structures reside within...
  • How is testing affected by object-oriented designs?
  • Well-engineered object-oriented design can make it easier to trace from code to internal design to functional design to requirements. While there...
  • What is the difference between Reader/Writer and InputStream/Output Stream?
  • The Reader/Writer class is character-oriented and the InputStream/OutputStream class is byte-oriented....
  • Difference Object and Class?
  • Classes and objects are separate but related concepts. Every object belongs to a class and every class contains one or...
  • What is JavaServer Faces?
  • JavaServer Faces (JSF) is a user interface (UI) framework for Java web applications. It is designed to significantly ease the...

    Comment:

    You must be logged in to post a comment.