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 Wrapper Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Wrapper" Watch "Wrapper" New topic


Shiva Mohan
Ranch Hand

Joined: Jan 05, 2006
Posts: 481

does this f1 float value is promoted to double value for equlas() method evaluation
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
No, it doesn't convert the Floats to a double.

This is from the source code for Float.

I agree. Here's the link:
subject: Wrapper
It's not a secret anymore!