Given the code fragments: And, Which statement is true?
Correct Answer: D
Question 12
Given: Acc.java: Which statement is true?
Correct Answer: B
Question 13
Given: Which code fragment can replace the if block? A: B: C: D:
Correct Answer: C
Question 14
Given: What is the result?
Correct Answer: D
Note: The getClass method Returns the runtime class of an object. That Class object is the object that is locked by static synchronized methods of the represented class. Note: Because Java handles objects and arrays by reference, classes and array types are known as reference types.