| Author |
Wrapper(==)-Q
|
Vishnu Prakash
Ranch Hand
Joined: Nov 15, 2004
Posts: 1026
|
|
Q: Why Integer.MAX_VALUE is not returning unequal. The rest of things are evaluating to equal
|
Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
|
 |
ankur rathi
Ranch Hand
Joined: Oct 11, 2004
Posts: 3829
|
|
|
Each statement should return 'equal' because everything ( long , int , char , short , byte ) can be cast into double & float without lossing precision .
|
 |
Mike Gershman
Ranch Hand
Joined: Mar 13, 2004
Posts: 1272
|
|
Please review this thread: http://www.coderanch.com/t/247377/java-programmer-SCJP/certification/Wrapper
|
Mike Gershman
SCJP 1.4, SCWCD in process
|
 |
 |
|
|
subject: Wrapper(==)-Q
|
|
|