A simple, clear demonstration of how Java interfaces work, including how classes implement interfaces and how polymorphism allows different objects to be treated through a shared contract. This project is designed as a lightweight reference for beginners learning OOP principles in Java.
- Interfaces — defining a contract for classes
- Class implementation — using
implementsto fulfill interface requirements - Polymorphism — treating different objects through a common interface type
- Method overriding — providing concrete behavior in implementing classes