1 package shapes; 2 3 public class WorkArea { 4 public static void main(String[] args) { 5 SRectangle table = new SRectangle ( 24, 36); 6 SRectangle books = new SRectangle(8.5, 11); 7 SCircle glasses = new SCircle(1.35); 8 SSquare coasters = glasses.circumscribingSquare(); 9 SCircle plates = new SCircle(8); 10 11 System.out.println("area of the Table =" + table.area()); 12 System.out.println("area of the Books =" + books.area()*2); 13 System.out.println("area of the Glasses" + glasses.area()*3); 14 System.out.println("area of the Plates" + plates.area()*3); 15 System.out.println("area of the Coasters" + coasters.area()*3); 16 System.out.println("area of the objects" + ((books.area()*2)+(plates.area()*3)+(coasters.area()*3))); 17 System.out.println("area of empty space" + ((table.area())-((books.area()*2)+(plates.area()*3)+(coasters.area()*3)))); 18 } 19 } 20 21 22