Question: public Quadrilateral(Point a, Point b, Point c, Point d) give assigned values to vertices array in order, invoke superclass constructor using super word and assign

public Quadrilateral(Point a, Point b, Point c, Point d)

give assigned values to vertices array in order, invoke superclass constructor using super word and assign a value.

create perimeter function to return sum of 4 vertices and invoke this function create area function from the 4 vertices

Vertex_1 = A, Vertex_2 = B, Vertex_3 = C, Vertex_4 = D Formula = (Area of Triangle 'ABD') + (Area of Triangle 'BCD')

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!