| AMutablePoint.java |
package lectures.inheritance;
import util.annotations.WebDocuments;
import lectures.graphics.ACartesianPoint;
@WebDocuments({"Lectures/Inheritance.pptx", "Lectures/Inheritance.pdf", "Videos/Inheritance.avi"})
public class AMutablePoint extends ACartesianPoint implements MutablePoint {
public AMutablePoint(int theX, int theY) {
super(theX, theY);
}
public void setX(int newVal) {
x = newVal;
}
public void setY(int newVal) {
y = newVal;
}
}