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

Given:

Which statement is true about the main method?

正解: C
Which method identifier is correct according to Java naming conventions?

正解: B
Given:

What is the result?

正解: B
Given the code fragment:

What is the result?

正解: B
Given these class definitions:

Which class or classes compile?

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

正解: C
Given the code fragment:

What is the result?

正解: A
Given the code fragment:

What is the result?

正解: D