1: //Measurable.java
3: /**
4: * An interface for methods that return
5: * the perimeter and area of an object.
6: */
7: public interface Measurable
8: {
9: /** Returns the perimeter. */
10: public double getPerimeter();
11:
12: /** Returns the area. */
13: public double getArea();
14: }