wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Primitive and Object Comparison .. ?? 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 » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Primitive and Object Comparison .. ??" Watch "Primitive and Object Comparison .. ??" New topic

Primitive and Object Comparison .. ??

Mahendra Shelke

Joined: May 08, 2006
Posts: 20
Hi Fellow Ranchers , since a few days this question is bugging me a lot .. I am not able to decipher it ..

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41150
What's to decipher? It's a comparison of a Long and a float. If you're wondering how that's possible since one is an object, and the other is a primitive, read up on autoboxing.

Ping & DNS - my free Android networking tools app
I agree. Here's the link: http://aspose.com/file-tools
subject: Primitive and Object Comparison .. ??
Similar Threads
float has some problem. see the code...
integers again?!
how it is possible??????
i am confusing about Overloading
How this assignment is possible...?