Polymorphism Programs in Java This repository contains Java programs that demonstrate Polymorphism, one of the core concepts of Object-Oriented Programming (OOP). Polymorphism allows the same method or object to behave differently based on the context.
📌 Topics Covered 1️⃣ Compile-Time Polymorphism (Method Overloading) Same method name Different parameters Resolved at compile time
2️⃣ Runtime Polymorphism (Method Overriding) Same method name Same parameters Child class modifies parent class method Resolved at runtime using dynamic method dispatch