The following text was written to the standard output stream when the ShapesThing.java program was executed from IntelliJ.
-------------------------------------------------
Square = < Square: side=400.0>
Area of the square = 160000.0
Perimeter of the square = 1600.0
Diagonal of the square = 565.685424949238
-------------------------------------------------
Disk = < Circle: radius=200.0>
Area of the disk = 125663.70614359173
Perimeter of the disk = 1256.6370614359173
-------------------------------------------------
Diamond = < Square: side=282.842712474619>
Area of the diamond = 80000.0
Process finished with exit code 0