/** Interface demo. @author Jed Yang, 2018-01-12 */ public interface ShapeInterface { /** Calculates the area of this shape. @return The area. */ public double getArea(); /** Calculates the perimeter of this shape. @return The perimeter. */ public double getPerimeter(); }