Superclass: A superclass is a class that comes above another class in the hierarchy. It provides common properties and behaviors that can be inherited by its subclasses.
Subclass: A subclass is a class that is derived from another class (superclass). It inherits the properties and behaviors of its superclass but may also add new ones or override existing ones.
Class B: Class B is a specific class that belongs to the hierarchy where Class C is both its superclass and subclass.