File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 3054

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: 36453
Please search this forum, because similar questions are asked frequently.
fred rosenberger
lowercase baba

Joined: Oct 02, 2003
Posts: 10908

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
I agree. Here's the link:
subject: Can we say, After Java5(Tiger), java is Pure OOL ?.
Similar Threads
Integer primitives...
is java 100% object oriented
Why need Integer class ?
what is primitive data type ?
Pass by Reference in Java