ShapesThing.java
1    /* 
2     * This program will present opportunities to explore the computational solution to simple geometrical problems 
3     * You will do this by constructing and the use of basic shapes 
4     */
5    
6    
7    package shapes;
8    
9    public class ShapesThing {
10       public static void main(String[] args) {
11           SSquare square = new SSquare (400);
12           System.out.println("square = " + square.toString());
13           System.out.println("area of square = " + square.area());
14           System.out.println("perimeter of square = " + square.perimeter());
15           System.out.println("diagonal of square = " + square.diagonal());
16           SCircle disk = square.inscribingCircle();
17           System.out.println("disk = " + disk.toString());
18           System.out.println("area of disk = " + disk.area());
19           System.out.println("perimeter of disk = " + disk.perimeter());
20           SSquare diamond = disk.inscribingSquare();
21           System.out.println("diamond = " + diamond.toString());
22   
23   
24   
25       }
26   }
27