Saturday, April 7, 2012

Why is Java not a pure Object based language

The most satisfying answer to this question is :

Java supports primitive datatypes such as int, float, double etc which are not objects. Hence Java is not pure Object based language.

Also, Java has static fields and method which are not part of any object.

No comments:

Post a Comment