The following text was written to the standard output stream when the WorkArea.java program was executed from IntelliJ.
area of desk = 864.0 area of 2 books = 187.0 area of 3 coasters = 21.870000000000005 area of 3 plates = 603.1857894892403 area of the glass = 17.176657833502198 Total area of the objects taking up space = 812.0557894892403 Area of the free space in the desk 51.94421051075972 Process finished with exit code 0