https://quizack.com/computer-science/computer-concepts/mcq/to-construct-a-polygon-with-three-points-x1-y1-x2-y2-x3-and-y3-use

New Polygon(x1, y1, x2, y2, x3, y3)

New Polygon(x1, y2, x3, y1, y2, y3)

Polygon polygon = new Polygon(); polygon.getPoints().addAll(x1, y1, x2, y2, x3, y3)

Polygon polygon = new Polygon(); polygon.getPoints().addAll(x1, y2, x3, y1, y2, y3

**Answer:**

**New Polygon(x1, y1, x2, y2, x3, y3)****Polygon polygon = new Polygon(); polygon.getPoints().addAll(x1, y1, x2, y2, x3, y3)**

**Note:** This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

More Computer Science MCQ Questions