최신Oracle Java Foundations - 1z1-811무료샘플문제
문제1
Which package would you import to use the Random class?
Which package would you import to use the Random class?
정답: C
문제2
Given the code fragment:

What is the result?
Given the code fragment:

What is the result?
정답: A
문제3
Identify two valid data types for the operands of the addition (+) operator?
Identify two valid data types for the operands of the addition (+) operator?
정답: C,D
문제4
Given the code fragment:

What is the result?
Given the code fragment:

What is the result?
정답: D
문제5
Given the code fragment:

What is the result?
Given the code fragment:

What is the result?
정답: C
문제6
Given the code:

Which code fragment, when inserted at line n1, enables the code to print sum is 30?
Given the code:

Which code fragment, when inserted at line n1, enables the code to print sum is 30?
정답: A
문제7
Given the code fragment:

What is the result?
Given the code fragment:

What is the result?
정답: B
문제8
Given:

Which statement, when inserted at line n1, enables the Course class to compile?
Given:

Which statement, when inserted at line n1, enables the Course class to compile?
정답: B