You are on page 1of 2

http://ilearning.oracle.com/ilearn/en/assessment/jsp/test_player.jsp?

Init=Y

Test: Java Fundamentals Final Exam


Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Section 4
(Answer all questions in this section)
1.The following program prints "Not Equal": Mark for Review
(1) Points

True or false?
True (*)
False

Incorrect. Refer to Section 4 Lesson 4.

2.What is printed by the following code segment? Mark for Review


(1) Points

a1
alligator (*)
albatross alligator
albatross

Correct

3.What is printed by the following code segment? Mark for Review


(1) Points

\\\\
\\\\\\\\\\\\\\
\\
\\\\\\\ (*)

Correct
4.Which of the following creates a String named string? Mark for Review
(1) Points
char string;
String char;
String s;
String String;
String string; (*)

Incorrect. Refer to Section 4 Lesson 4.


5.What will the following code segment output? Mark for Review
String s="\\\\\\\\"; (1) Points
System.out.println(s);
\\
\\\\\\\\
"\\\\\"
\\\\ (*)

1 dari 2 28/10/2016 21:33


http://ilearning.oracle.com/ilearn/en/assessment/jsp/test_player.jsp?Init=Y

Incorrect. Refer to Section 4 Lesson 4.

Page 1 of 10 Next Summary

2 dari 2 28/10/2016 21:33

You might also like