Sunday, November 28, 2010

Object based and Object oriented Languages

There are object oriented and object based languages differ in few properties, object oriented language is having support for all object oriented concepts like class, object, inheritance,polymorphism,dynamic binding,message passing etc, but object based languages doesn't support properties inheritance and dynamic binding (dynamic binding is closely related to inheritance), for example, C++, Simula, Small talk,Eiffel, Java all are object oriented languages, visual basic 6.0 can be considered as an object based language which support class and object but not inheritance and dynamic binding, but current versions of visual basic is object oriented because they support all the above mentioned features. Ada is another example for object based language. Some authors count C++ as not object oriented, instead it as extended conventional languages, similarly the same case for Objective C, Object pascal, Turbo pascal etc.

Experience Note:-
A similar question was asked on NIC (National Informatics Center), India recruitment test. The question was to find one in the 4 choices that is object based; choices were C++, Java, Visual Basic etc, like an odd man out question.

No comments:

Post a Comment