The following text was written to the standard output stream when the ShapesThing.java program was executed from Netbeans.
/* * This program affords oppertunities to explore the computational solution to * simple geometrical problems by means of the construction and use of basic * shapes. */ package shapes; /** * * @author ecuevas */ public class ShapesThing { /** * @param args the command line arguments */ public static void main(String[] args) { SSquare square = new SSquare(400); System.out.println("square=" + square.toString()); System.out.println("area of square=" + square.area()); System.out.println("perimeter of square=" + square.perimeter()); System.out.println("diagonal of square=" + square.diagonal()); SCircle disk = square.inscribingCircle(); System.out.println("disk=" + disk.toString()); System.out.println("area of disk=" + disk.area()); System.out.println("perimeter of disk=" + disk.perimeter()); SSquare diamond = disk.inscribingSquare(); System.out.println("diamond=" + diamond.toString()); System.out.println("area of diamond=" + diamond.area()); } }