Skip to content

SanikaStar/Polymorphism-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages