Polymorphism in Java

Polymorphism is the ability of an object to take on many forms. That is, at compile time, Java object will be in reference type but at runtime, it will be in runtime type (object type).

Polymorphism in OOP occurs when a super type references a sub type object.

All Java objects are considered to be polymorphic as they share more than one IS-A relationship (at least all objects will pass the IS-A test…




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

My approach and tools are also quite overwhelming at first glance. You might want to start by

Data Binding for beginners!

Get started with Jekyll

[GUIDE for Minting] Sunmiya Club 민팅 가이드(SIX/KLAY)

💥Ping to Google and Not Ping to Facebook using a simple Networking trick!

READ/DOWNLOAD%> PostgreSQL: Up and Running: A Practical Guide to the Advanced Open Source Database…

My somewhat pragmatic approach towards pipenv

Algorithm and Data Structures in Kotlin (Sorting-1-Bubble Sort)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Thanoshan MV

Thanoshan MV

More from Medium

OOPs in Java

Behavior of Objects in Java

Java Packages & API-10 example