Multiple Choice
What would be printed out as a result of the following code? System.out.println("The quick brown fox" +
"jumped over the \n"
"slow moving hen.") ;
A) The quick brown fox jumped over the \nslow moving hen.
B) The quick brown fox jumped over the
Slow moving hen.
C) The quick brown fox
Jumped over the
Slow moving hen.
D) Nothing - this is an error
Correct Answer:

Verified
Correct Answer:
Verified
Q23: Which of the following cannot be used
Q24: A Java program will not compile unless
Q25: Class names and key words are examples
Q26: The System.out.printf method allows you to format
Q27: What is the result of the following
Q29: The primitive data types only allow a(n)
Q30: The boolean data type may contain which
Q31: Named constants are initialized with a value
Q32: Which of the following statements correctly creates
Q33: The Java API provides a class named