public class Shape { protected int width; protected int height; public Shape(int width, int height){ this.width = width; this.height = height; } public String toString(){ return "Shape, width: " + width + ", height: " + height ;} public double area() { System.out.println ("Area not implemented for this shape"); return -1.0; } }