Java
Java
**Description:**
You are tasked with creating a Simple Shape Hierarchy to
represent various geometric shapes. The project should
demonstrate your understanding of inheritance,
encapsulation, method overriding, and method
overloading in Java.
**Classes:**
1. `Shape`: This is a base class representing a generic
shape. It should have an attribute for color and a method
to display the color of the shape.
**Requirements:**
1. Implement the `Shape` class with an attribute for color
and a method to display the color of the shape.
2. Implement the `calculateArea()` and
`calculatePerimeter()` methods in each subclass (`Circle`,
`Rectangle`, `Triangle`) to provide specific
implementations based on the shape's attributes.