*
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

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: 3064
    
  33

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
Sheriff

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

Joined: Oct 02, 2003
Posts: 11153
    
  16

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: http://aspose.com/file-tools
 
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 ?