package shapes; public class WorkArea { public static void main(String[] args) { SRectangle desk = new SRectangle(24,36); System.out.println("area of desk = " + desk.area()); SRectangle book = new SRectangle(8.5,11); System.out.println("area of two books = " + 2*book.area()); SCircle plate = new SCircle(8); System.out.println("area of three plates = " + 3*plate.area()); SCircle glass = new SCircle(1.35); System.out.println("area of three glasses = " + 3*glass.area()); SSquare coaster = glass.circumscribingSquare(); System.out.println("area of three coasters = " + 3*coaster.area()); double objects = (2*book.area() + 3*plate.area() + 3*coaster.area()); System.out.println("the collective area of the objects = " + objects); double rest = (desk.area() - objects); System.out.println("the area of the desk not obscured by the objects = " + rest); } }