8. Given the following code, the output is __. Please select the correct option "A, B, C, D, or E"
try
{
Integer number = new Integer("1");
System.out.println("An Integer instance.");
}
catch (Exception e)
{
System.out.println("An Exception.");
}
A. An Integer instance.
B. An Exception.
C. 1
D. Error: Exception
E. None of the options
Answer: A
Comments
Leave a comment