Object-oriented languages
Languages that support OOP features can be classified into the following two categories:
1. Object-based programming languages, and
2. Object-oriented programming languages.
Object-based programming does not support inheritance and dynamic binding e.g. ADA, but supports:
- Data encapsulation
- Data hiding and access mechanisms
- Automatic initialization and clear-up of objects
- Operator overloading
Object-oriented programming incorporates all of object-based programming features along with two additional features, namely, inheritance and dynamic binding.
Languages that support these features include C++, Smalltalk, Object Pascal and Java.