Circle:Circle is a subclass that extends the Shape superclass, inheriting its attributes and methods while adding specific properties related to circles.
Rectangle:Rectangle is another subclass that can extend the Shape superclass, inheriting its characteristics and defining additional features specific to rectangles.
Polymorphism:Polymorphism allows objects of different classes that share a common superclass to be treated as instances of the superclass, enabling flexibility in programming.