8.7 Polymorphism in Java

preview_player
Показать описание
What is Polymorphism?

The ability of an object to take on many forms is known as polymorphism.
The word "poly" means many and "morphs" means behavior. So polymorphism means many behavior.
Types of polymorphism : compile time polymorphism and runtime polymorphism.

Follow on Facebook:

Subscribe to our other channel:
Telusko Hindi :

Subscribe to the channel and learn Programming in easy way.

Рекомендации по теме
Комментарии
Автор

Thank you so much, you make it so easy to learn. Even though it's obvious that you're an expert your explanations can be easily understood by beginners
Seriously, thank you.

miguelunch
Автор

I am wondering about my father's reaction, when I tell him that his mobile phone is my mobile phone.

anaskala
Автор

Navin sir lot's of thanks for opp's (polymorphism) concept...
I understand this concept very simply because of you.
Really thanks

dnyaneshwarkadam
Автор

I LOVE THE EXAMPLE OF YOUR PHONE, IT MADE EVERYTHING CRIPSY

RealNaps
Автор

its really awesome feeling to watch your tutorial, very very helpful tutorial 👌👌👌👌🙂🙂🙂

SmartProgramming
Автор

One of the best explanation of such difficult topics.. thank you sir🙏

ekanshmishra
Автор

The way you explain make things and concepts easy to understand. Thank you sir, good one

knowledgeunlimited
Автор

Omg finally method overriding concept is cleared.... Thank you so much sir for explaining with the easiest way

mamtarani
Автор

He said "IF WE ARE HUMANS" means when he says "HELLO ALIENS" he actually means it lmao

rikinshah
Автор

Sir, concept is cleared Thank You So Much

Nishant_
Автор

He explained it very well highly recommended for java

sulaimanabid
Автор

i love it, when some things slip out of his mind and for remembering them he keeps looking at the roof XD . TBH great teacher <3

dopenope
Автор

Great Examples everyone can relate easily😍😍

ankushbanerjee
Автор

Understood perfectly thank you for the great explanation :)

sidramowlana
Автор

Perfect example and I clearly learned the concepts.

geethanjalibaskaran
Автор

You are really good at giving examples

shreypatel
Автор

Clear explanation.
Budding Data Scientist, here for Java basics and more than happy.

adityanjsg
Автор

java program that can maintain a list of items. It will display a menu with the functionality to add an item, and Display All Items (sorted in ascending order by price), and of course Exit.

BeardAndBeans
Автор

Great practical examples. So simply explanation of Polymorphism I have never seen before... and very effective. Thank you very, very much. Great teacher you are. Regards.

vladanulardzic
Автор

However, POLYMORPHISM in Java means that a superclass reference variable can reference objects of a subclass. Overriding in a "is - a" relationship (Inheritance) means that a method in the subclass overrides the method with the same signature in the superclass.
Consider the following example:
1. public class ClassA
2. public class ClassB extends ClassA

POLYMORPHISM means you can do the following code:

ClassA obj = new ClassB ();

nesaresar