About Question enthuware.ocajp.i.v7.2.984 :
Posted: Fri Apr 11, 2014 5:57 am
There are typos in at least 2 of the answers, making them invalid an ineligible:
(answer 2) should beIf input is "0x.1" then it will return Float.Nan and print Invalid Input 0x.1 and finally.
andIf input is "0x.1" then it will return Float.NaN and print Invalid input 0x.1 and finally.
(answer 4) should be:If input is "0x1" then it will return 0.0 and print Invalid Input 0x1 and finally.
If input is "0x1" then it will return 0.0 and print Invalid input 0x1 and finally.