Work Area Demo

The following text was written to the standard output stream when the WorkArea.java program was executed from IntelliJ.


desk = Rectangle: height=24.0 width=36.0
book = Rectangle: height=8.5 width=11.0
area of book= 93.5
plate = Circle: radius=8.0
area of plate= 201.06192982974676
glass = Circle: radius=1.35
area of glass= 5.725552611167399
coaster = Square: side=2.7
area of coaster= 7.290000000000001
collective area of the objects on the desk=812.0557894892403
Area of desk not obscured by objects =51.94421051075972