question archive You wish to have a Shapes class with Circle, Rectangle, Pentagon, and Hexagon inheriting from it

You wish to have a Shapes class with Circle, Rectangle, Pentagon, and Hexagon inheriting from it

Subject:Computer SciencePrice: Bought3

You wish to have a Shapes class with Circle, Rectangle, Pentagon, and Hexagon inheriting from it.  The Rectangle class should have a child class, Square. The child classes should have an area method and a color.  Each child class should also have a toString method that prints the information about the object (type of shape, color, perimeter, area, list of sides). The parent class should have a list of sides and a perimeter/circumference

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE