Fahd Shariff<br />"Let the code do the talking"
Originally posted by Ernest Friedman-Hill:
The meta-question, though, is "who cares?"
Originally posted by Fahd Shariff:
Java is not purely object oriented. If it were there would be no distinction between primitive types and objects for example. You cannot instantiate an int, invoke a method on it, use instanceof to determine its runtime type, and so on.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
originally posted by fahd shariff
Java is not purely object oriented. If it were there would be no distinction between primitive types and objects for example. You cannot instantiate an int, invoke a method on it, use instanceof to determine its runtime type, and so on.
A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
Originally posted by saikrishna cinux:
...
hence we can prove that java is purely object orinted programming by converting a premitive to an object.
...
[ May 26, 2005: Message edited by: saikrishna cinux ]
java primitives can also be converted to objects using wrapper classes
cant we do that?
If this is the case then,every premitive has wrapper class so hence we can prove that java is purely object orinted programming by converting a premitive to an object.
Originally posted by Nigel Browne:
No your logic is incorrect, just because we can wrap primitives into objects doesn't mean that java is purely object oriented.
Once again who cares.
A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus