Oracle Java Foundations - 1z1-811 模擬練習

Given the code

What is the result?

正解: B
Given:

What is the result?

正解: D
Given these class definitions:

Which class or classes compile?

正解: A
Given the code fragment:

What is the result?

正解: D
Given:

What is the result?

正解: B
Given the code fragment:

What is the output?

正解: C
Which statement is true about a mutator method?

正解: C
Given the code fragment:

Which for loop statement can be used to print 135?

正解: B