BJP3 Exercise 8.4: isVerticalPoint
Add the following method to your
public boolean isVertical(Point other)
true if the given
Point lines up vertically with this
Point; that is, if their x coordinates are the same.
Partial class problem: For this problem, you are supposed to submit code that will become part of an existing Java class as described. You do not need to write the complete class, just the portion described in the problem.
Contacting server and running tests...
Is there a problem?
Contact a Practice-It administrator.