public interface TwoDShape { double area (); double perimeter (); }