/*
* Definition of superclass Shape
*/
abstract class Shape {
// protected, not private, cause is used by our subclasses
protected int x, y; //*2 Protected, not private, cause is used by our subclasses
public void setPos (int xin, int yin) {
x = xin; y = yin;
}
abstract public void draw(); //*1 Add abstract functions to Shape
abstract public float area(); //*1
}