Create a class for Triangle objects..Triangle clas


Create a class for Triangle objects..Triangle class should inherit from a Shape class and implement its own getArea() and getPerimeter() methods. create a program to test Triangle class and include a method that takes a Shape object as a parameter. Pass Triangle object to the method to display the data.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Create a class for Triangle objects..Triangle clas
Reference No:- TGS0121921

Expected delivery within 24 Hours