1.

What are the differences between an object-oriented programming language and object-based programming language?

Answer»

The FOLLOWING are the main differences between object-oriented and object-based LANGUAGES.

  • Object-oriented languages adhere to all Object Oriented Programming concepts, but object-based languages do not adhere to all Object Oriented Programming concepts such as inheritance, polymorphism, etc.
  • Object-oriented languages lack built-in objects, but object-based languages do. For example, JavaScript contains a built-in window object.

Java, C#, Smalltalk, and others are examples of object-oriented programming languages while JavaScript, VBSCRIPT, and others are examples of object-based languages.



Discussion

No Comment Found