GIAC
GSSP-JAVA · Question #109
GSSP-JAVA Question #109: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-JAVA to reveal the answer and full explanation for question #109. The question stem and answer options stay visible for context.
Question
Mark works as a Programmer for InfoTech Inc. He develops the following code snippet. class Auto {public static void main(String args[]) {Character iob ='d';float i=iob;System.out.println(iob);}} What will be the result when Mark tries to execute the code snippet?
Options
- AIt will display d.
- BIt will show a runtime error.
- CIt will show a compile-time error.
- DIt will display 0.00.
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.