Java Coding Questions On Arrays And Rectangles