عربي  Mark    Scores  Software

 

  Previous (Page 5)Next (Page 7)
Procedure-Oriented Programming versus Objected-Oriented Programming (OOP)
   Object-oriented versus procedure-oriented programming for a program that calculates the areas and perimeters of a square and a circle.



Procedure-oriented (structured) programs are built of functions (procedures) with each function handling a sub-problem of the problem the program is aiming to solve. Object-Oriented programs are composed of objects with each object made of data that describe its properties and functions (methods) that describe the operation it can perform. Some programming languages as C and Pascal support procedure-oriented programming while others as Java and C++ support object-oriented programming (OOP).  
Page 6 of 16

Previous (Page 5)Next (Page 7)