Forums Java Help What is the difference between procedural and object-oriented programs

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4018
    Aakanksha
    Participant

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

    #11594
    Aakanksha
    Participant

    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.

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.