Question: java Suppose we want to create a class Triangle that has 3 private Point variables: top, left, and right. Write a default constructor that creates

"java" Suppose we want to create a class Triangle that has 3 private Point variables: top, left, and right. Write a default constructor that creates the triangle shown in the image above.
Write a copy constructor for the class Triangle.
2 1 -2 -1 1 2 0,0 (Origin) - 1 -2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
