Design two concrete classes-circle and square


Design an abstract class called Shape. This class must contain a single constructor that accepts a single numeric value that can be used to calculate various values, one of which is area. Include an abstract method called findArea that can be defined to find the area of any shape. Also provide a concrete to return the area. Design two concrete classes, Circle and Square that inherits fhe class Shape. Each of these classes finds the respective area; i.e. area of circle and area of square. You are responsible for providing the relevant variables.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Design two concrete classes-circle and square
Reference No:- TGS0538321

Expected delivery within 24 Hours