Add the following constructor to your Line class: public Line(int x1, int y1, int x2, int y2)

Question:

Add the following constructor to your Line class:

public Line(int x1, int y1, int x2, int y2)

Constructs a new Line that contains the given two Points .

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: