Question: Design a new Triangle class that extends the abstract Geometric Object class. Draw the UMI. diagram for the classes Triangle and Geometric Object and then

Design a new Triangle class that extends the abstract Geometric Object class. Draw the UMI. diagram for the classes Triangle and Geometric Object and then implement the Triangle class. Write a lest program that prompts the user to enter three sides of the triangle, a color, and a Boolean value to indicate whether the triangle is filled. the program should create a Triangle object with these sides and set the color and filled properties using the input. the program should display the area, perimeter, color, and true or false to indicate whether it is filled or not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
