Any class using the built-in cloning mechanism is supposed to do which of the following?
(a) Implement the Cloneable 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
I have been asked this question during an interview.
I would like to ask this question from The Prototype Pattern, Reactor Pattern and Command Pattern topic in chapter Visibility, Accessibility and Information Hiding of Software Architecture