Java Tutorial for Beginners - 38 - Polymorphism

preview_player
Показать описание
In this tutorial we begin to examine the concept of polymorphism
Рекомендации по теме
Комментарии
Автор

o my god u are different...u have the talent of making every complicated topics simple

nejatsultan
Автор

These are not beginners topics, these are advance. You sir is a God sent. Thank you! This channel is so freaking underrated!

martinblake
Автор

THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU FOREVER!!! You finally got this idea to lock down for me! I have been struggling with this since I first started learning about polymorphism. YOU ARE THE MAN!!

headfracturegaming
Автор

OMG you're the most amazing guy in the whole word .. this video is like a miracle for me thanks for the super simple explain polymorphism

HudaBZ
Автор

have I missed a lesson or is the "length" keyword just a new concept ?

jun
Автор

Great example of overriding, It's way clearer now :)

tidus
Автор

once again you saved my day thank you so much but one quick question is developper use polymorphisme only in polymorphic array ?

TheGazanews
Автор

I have a question, What makes a class "Super" class or "Sub" class or is it just a naming thing or is it when you extend a class, it makes that class a super class?

bongchi_
Автор

YOU JUST SAVED ME!! THANK YOU SO MUCH!!!

waleedayyash
Автор

So does the object beetle become basically a subclass of Insect?

kiwinacho
Автор

Great video.  One thing, though, spiders aren't insects.  They're arachnids.

sirburos
Автор

Nice video! But why NetBeans? Eclipse is better imo

physicsimpossible
Автор

Hahahaha can't believe it is this simple

stephenwisniewski
Автор

public class Beatle {
void perform(int index) {
String instrument[] = {"Riff Guitar", "Drums", "Bass", "Solo Guitar"};
System.out.println("Playing the "+instrument[index]);
}
}

vndosapp
Автор

Hi i've a couple of questions
How does the Insect beatleObj = new Beatle() work? How different is it from Insect beatleObj2 = new Insect();

What does the allInsects.length do? How does it work

Lastly how does the overriding work? Does overriding always take priority over superclass's method?

MrAirPork