package lectures.deep_shallow_copy;
import util.annotations.WebDocuments;

import lectures.inheritance.is_a.extra.AMutablePoint;

@WebDocuments({"Lectures/DeepShallowCopy.pptx", "Lectures/DeepShallowCopy.pdf", "Videos/DeepShallowCopy.avi"})
public class ACloneablePoint extends AMutablePoint implements CloneablePoint, Cloneable {
    public ACloneablePoint(int theX, int theY) {
        super(theX, theY);
    }
    public Object clone() {
        try {
            return super.clone();
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }
}