I\'m looking for help writing this program: You will write a program to read a C
ID: 3548059 • Letter: I
Question
I'm looking for help writing this program:
You will write a program to read a Comma Separated Value (.csv) file into an ArrayList of Rectangles. A sample file is below. Its name is 00-Rectangle-TestData.csv
The file is composed of lines, each of which corresponds to a rectangle. The first number on each line represents the x location of the upper-left-hand corner of the rectangle. The second number is the y location. The third and fourth numbers represent the width and height of the rectangle, respectively.
You will create a class, Rectangle, that has four int fields: x, y, width, and height.
The class will have the following methods:
Explanation / Answer
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.