Expand|Select|Wrap|Line Numbers
- class Asdf<T extends Cloneable> implements Cloneable {
- public T t;
- protected Object clone() throws CloneNotSupportedException {
- ...
- t.clone(); // The method is not visible
- ...
- }
- }
Etam.
How would you clone this class?!
|