Tuesday, 30 January 2018

Why Java is not pure Object Oriented language?

Java is not a pure object oriented because it support primitive types such as int, byte, short, long etc. And java could have wrapper objects for the primitive types but just for the representation.

But we know, for all the primitive types we have wrapper classes such as Integer, Long etc that provides some additional methods.

No comments:

Post a Comment