मराठी

Write the differences between Object-Oriented Programming and procedural programming?

Advertisements

प्रश्न

Write the differences between Object-Oriented Programming and procedural programming?

फरक स्पष्ट करा
Advertisements

उत्तर

Object-Oriented Programming:

  • Emphasizes data rather than an algorithm.
  • Data abstraction is introduced in addition to procedural abstraction.
  • Data and its associated operations are grouped into a single unit.
  • Programs are designed around the data being operated.
  • Example: C++, Java, VB.Net, Python

Procedural Programming:

  • Programs are organized in the form of subroutines or sub-programs.
  • All data items are global.
  • Suitable for small-sized software applications.
  • Difficult to maintain and enhance the program code as any change in data type needs to be propagated to all subroutines that use the same data type.
  • Example: FORTRAN and COBOL
shaalaa.com
Programming Paradigms
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 13: Introducton to Object Oriented Programming Techniques - Evaluation - Section - D [पृष्ठ २३२]
Advertisements
Share
Notifications



      Forgot password?
Use app×