GIAC
GSSP-JAVA · Question #66
GSSP-JAVA Question #66: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-JAVA to reveal the answer and full explanation for question #66. The question stem and answer options stay visible for context.
Question
Which of the following code fragments will throw NumberFormatException?
Options
- ADouble dbl = new Double(true);
- BCharacter ch = new Character('A');
- CFloat flt = new Float("true");
- DBoolean bool = new Boolean("123");
Unlock GSSP-JAVA to see the answer
You've previewed enough free GSSP-JAVA questions. Unlock GSSP-JAVA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.