priate. The first parameter is the ClosedInterval object that represents the closed interval that is the
projection of the Rectangle onto the x-axis. The second parameter is the ClosedInterval object that
represents the closed interval that is the projection of the Rectangle onto the y-axis.
2. A constructor that takes four int parameters. The first two parameters are the left endpoint and
length of the corresponding ClosedInterval object for the x-axis. The last two parameters are the
bottom endpoint and the length of the corresponding ClosedInterval object for the y-axis.
public Rectangle(ClosedInterval x, ClosedInterval y)
public Rectangel(int a, int b, int c, int d)
Is that all that is needed for the first two steps? The terminology in step 1 as well as in the description of this project is more than a little confusing. I understand step 2 fine but I would just like to be sure as this project counts for a significant portion of my grade in CS 150.

New Topic/Question
Reply



MultiQuote




|