WhiteArea.java
1    package npw;
2    
3    import shapes.SCircle;
4    import shapes.SSquare;
5    
6    public class WhiteArea {
7        public static void main(String[] args) {
8            SSquare die = new SSquare(.75);
9            SCircle dot = new SCircle( .75 / 8 / 2);//.75 length * 1/8 of the distance and * 1/2 because it needs to be the radius
10           double whiteArea = (6 * die.area()) - (21 * (dot.area()));
11           System.out.println("White Surface Area = " + whiteArea);
12       }
13   }
14