Any class using the built-in cloning mechanism is supposed to do which of the following?
A. Implement the Clonable interface
B. Define a concrete public or protected clone() operation
C. In the clone() operation, obtain a new object by calling super.clone()
D. All of the mentioned
Answer:A
Any class using the built-in cloning mechanism is supposed to do which of the following?
A. Implement the Clonable interface B. Define a concrete public or protected clone() operation C. In the clone() operation, obtain a new object by calling super.clone() D. All of the mentioned
Explanation: All of the mentioned are true.