GSSP-JAVA Web TestEngine demo

Exit VceDump GSSP-JAVA GIAC Secure Software Programmer - Java
Question 20 of 42
0% complete
Q20 Single choice

John works as a Programmer for Technostar Inc. He writes the following code using Java.

1. class WrapperClass{
2. public static void main(String[] argv){
3. String str2 = Double.toString(12);
4. String str1 = Double.toHexString(12);
5. System.out.println(str1+str2);
6. }
7. }

What will happen when John attempts to compile and execute the code?

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in