Bird is another specific class that serves as the superclass (parent) of the Penguin class. It defines common attributes and behaviors shared by all types of birds.
Related terms
Method Inheritance: Method inheritance is the process by which a subclass inherits methods from its superclass. Similar to how genetic traits are passed down through generations, subclasses inherit methods defined in their superclass.
Polymorphism allows objects of different classes to be treated as objects of a common superclass. In our bird example, you could have an array or list of Bird objects that can hold instances of penguins, eagles, and sparrows.
Static Binding: Static binding is the process where Java determines at compile-time which method implementation to call based on the reference type (not the actual object type). It's like writing someone's name on an envelope before they receive it - you already know who it's intended for without opening it.