wood burning stoves 2.0*
The moose likes Java in General and the fly likes Can we say, After Java5(Tiger), java is Pure OOL ?. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Can we say, After Java5(Tiger), java is Pure OOL ?. " Watch "Can we say, After Java5(Tiger), java is Pure OOL ?. " New topic

Can we say, After Java5(Tiger), java is Pure OOL ?.

Praveen Kumar
Ranch Hand

Joined: Nov 06, 2006
Posts: 133

Before Tiger, Because of existence of primitives we say java is not pure OOL. With the help of new feature added in Tiger, Autoboxing and Unboxing, We can direclty
perform operations on primitives objects say Integer(2). ?.

like this ... Integer(7) + Integer(7) =14.

Pl. correct me if i am wrong ?.

Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068

We still have primitives (or we still use them widely). Also these operators- +,-,* and all are Operators and not method calls. What I would think should an actual OOP do-

So everything we use should be Objects and the operations performed on them should be method calls in the Objects. So we cannot say Java is Pure OOL.

Mohamed Sanaulla | My Blog
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38033
Please search this forum, because similar questions are asked frequently.
fred rosenberger
lowercase baba

Joined: Oct 02, 2003
Posts: 11161

and the standard answer is that since no two people have EVER agreed on what "Pure OO" means, the question is meaningless.

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Don't get me started about those stupid light bulbs.
subject: Can we say, After Java5(Tiger), java is Pure OOL ?.
Similar Threads
Pass by Reference in Java
Integer primitives...
Why need Integer class ?
is java 100% object oriented
what is primitive data type ?