Question: I'm trying to study for a programming test Can someone help me with the following code pleas Design an abstract class called shape. This class
Design an abstract class called Shape. This class contains a single constructor that accepts a single numeric value that is used to calculate various values, one of which is area. Include in this class an abstract mutator method called findArea that can be defined to find the area of various shapes. Also provide a concrete accessor method to return the area. Design two concrete classes, Circle and Square, that inherits the class shape. Each of these classes finds the respective area; ie. area of circle and area of Square. You are responsible for providing any relevant variable(s). NB: You are NOT required to write a test class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
