What is the difference between Object oriented programming and Object based programming ?

Total Post:24

Points:120

 91  View(s)
Ratings:
Rate this:
  1. What is the difference between Object oriented programming and Object based programming ?

    Many of us have the misconception that JavaScript is an object-oriented language. Whereas, the truth is that JavaScript is an object-based language.

    Object-Based Languages

    Object-based languages support the usage of object and encapsulation.

    They do not support inheritance or, polymorphism or, both.

    Object-based languages do not support built-in objects.

    Javascript, VB are examples of object bases languages.

    OOP: follows Polymorphism, Inheritance, and Encapsulation(PIE).

    Examples: Java, .Net so on. OOP is new comparing with OBP

    Object-Oriented Languages

    Object-Oriented Languages supports all the features of Oops including inheritance and polymorphism.

    They support built-in objects.

    C#, Java, VB. Net are examples of object oriented languages.

    OBP: follows Polymorphism and Encapsulation.

    Examples: Ada, Visual Basic (VB), and Fortran 90. OBP is old

      Modified On Sep-02-2019 01:14:43 AM

Answer