public abstract class Shape { public abstract double area(); public abstract double p(); public abstract boolean isMember(Point p); }