Question: how a java class called Quadrilaterals can construct Quadrilateral objects given the coordinates of the 4 vertices. The subprograms should calculate the properties of a
how a java class called Quadrilaterals can construct Quadrilateral objects given the coordinates of the 4 vertices. The subprograms should calculate the properties of a quadrilateral, as specified below. Remember, we are trying to break our program down into reusable parts using methods.
Remember these useful formulae:

Slope between two points (x, y) and (x2, Y2): Midpoint of two points (x, y) and (x2. Y2): M = m = x + x2 Y + y2 2 2 Distance between two points (x, y) and (x2, Y2): d= = 32 31 X2 - X1 (x2 x1) + (Y Y) 2
Step by Step Solution
There are 3 Steps involved in it
Heres a Java class called Quadrilaterals that constructs Quadrilateral objects given the coordinates of the 4 vertices and calculates properties of th... View full answer
Get step-by-step solutions from verified subject matter experts
