File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
about equals
wei liu
Ranch Hand
Joined: Dec 06, 2001
Posts: 56
posted
Dec 22, 2001 02:39:00
0
Float f=new Float("10F");
f.equals(new Float"10");(reture true)
is it a valid statement? i never seen this kind of statemnet before, what i saw is like f.equals(new Float("10F"))
Jim Hall
Ranch Hand
Joined: Nov 29, 2001
Posts: 162
posted
Dec 22, 2001 06:47:00
0
One easy way to find out...Compile it
I agree. Here's the link:
http://aspose.com/file-tools
subject: about equals
Similar Threads
doubt: equals&==
List casting
One doubt
about Float and Double
Round up int
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter