Register now or log in to join your professional community.
Object-oriented language - It supports all the features of OOPs.
Example: java is object oriented language.Object-based language - It doesn't support all the features of OOPs like Polymorphism and Inheritance.
Example: javascript is object based language.
In simple words
Object Oriented languages supports Inheritanc like: C#, C++, PHP
Where As
Object based languages do not support Inheritance like: Javascript
According to Wikipedia: Object-based
In computer science, the term object-based has two different senses:
As for samples , all people who answered here gave you good samples for it.
Object Oriented is the approach which is implemented in languages which support that the developers can create user-deffined classes and instantiate objects from these classes for example Java and C++, while the Object Based is the approach implemented in the languages which doesn't support that the developers create thier user-defined classes, but only can use the built-in objects supported by the language library itself like for example VBScript.
Object Oriented languages are those which has full support for OOPS, like classes, inheretance, ploymorphisam etc etc. You extenciate object of the class and then use that object to access properties and methods. Such languages are C++, C#, java and PHP etc etc
While Object based languages have no such concpets. In such language, only the object is created and all methods and properties are created with it in the same file. It has no concepts of classes, inheritance and poymorphisam. Java script is an object based language.