File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 42965
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.
I agree. Here's the link:
subject: Primitive and Object Comparison .. ??
jQuery in Action, 3rd edition