Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Is java a pure object oriented language?

user-image
Question added by himanshu mittal
Date Posted: 2013/07/05
Daanish Rumani
by Daanish Rumani , Product Manager , Publicis Sapient

It isn't.
A language like Smalltalk may be called pure object oriented language.
Java has native data types like int, float, etc.
that are not objects themselves.
On the other hand Smalltalk does not have native types.
You would be surprised to know that in Smalltalk even the class is an object.
The way to instantiate a new object of the class is to call a method on the class object!

Belal El-Berry
by Belal El-Berry , Senior Application Developer , Dataserve

Yes we can say that it is pure object oriented from the prespective of wrapper classes but you still have primitives and they kept it for performance concerns.

Yes.
You dont need to use primitives.
Use Wrapper classes.

Advaitha Chidurala
by Advaitha Chidurala , Teacher , Little Masters Abacus

Yes. Java is a purely Object Oriented Language as the all the primitives are present in classes called Wrapper Classes. 

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.