aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Wrapper" Watch "Wrapper" New topic
Author

Wrapper

Shiva Mohan
Ranch Hand

Joined: Jan 05, 2006
Posts: 477



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: http://aspose.com/file-tools
 
subject: Wrapper
 
Similar Threads
Comparison of arrays
operator
Usage of :- int comapareTo(float f)
Invoking equals method on float object
( int a = 2147483648 ) vs (int a = 2147483647 ; a=a+1 )