super.clone() operation not works in Derived Class
问题 This is raised because of the technical difficulties faced in my Project. Problem: I need to clone a Object of a Class where it extended the properties(Inheritance) from a third party library class(where we don't have access to modify its contents) Let me explain with example below: Parent Class: public class UnChangeableBaseClass { //fields and Methods } Child Class: class DerivedLocalClass extends UnChangeableBaseClass implements Cloneable { // local fields and methods public Object clone()