The following text was written to the standard output stream when the ShapesThing.java program was executed from IntelliJ.
/* * Using computational solutions to solve simple geometrical problems by means of construction and basic shapes. */ package shapes; public class ShapesThing { 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 = " + square.diagonal()); //Establish Circle Disk 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()); //Establish square diamond SSquare diamond = disk.inscribingSquare(); System.out.println(" diamond = " + diamond.toString()); System.out.println(" area of diamond = " + diamond.area()); } }