Shape tShape = new Shape(100, 200); Shape tShapeSame = tShape;then both Shape variables point to the same object.
public Object clone() { ... }
Shape tShape = new Shape(100, 200); Shape tShapeCopy = (Shape)tShape.clone();
public Shape clone() { ... }
Shape tShape = new Shape(100, 200); Shape tShapeCopy = tShape.clone();