Question: In the java language Create an abstract class Shape that has a unique id (integer) and a label (string). It has an abstract method to
In the java language

Create an abstract class Shape that has a unique id (integer) and a label (string). It has an abstract method to CalculateArea). Create three derived classes: Circle, Rectangle, and a Triangle For each class implement the CalculateArea0 method and any other necessary methods and attributes to maintain the geometric information of the specific shape. Create a class called DrawingApp that instantiates an array of 10 random shapes and computes the total area of the shapes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
