Polymorphism (Java Tutorial)

  Рет қаралды 11,056

Bill Barnum

Bill Barnum

Күн бұрын

This Java tutorial for beginners explains how Polymorphism works with examples.
Aligned to AP Computer Science A. Part of Object Oriented Programming Java (Java OOP).
🔥 Subscribe To Get More Tutorials: bit.ly/36H70sy 🔥
#Java #JavaTutorial #JavaTutorials

Пікірлер: 20
@BillBarnum
@BillBarnum 5 жыл бұрын
📌 Subscribe For The Latest Videos: bit.ly/36H70sy 📌 . 💻 All Java Tutorials: bit.ly/JavaTutorialsKZbin 💻 . 🤖 Learn Java In 3 Hours: bit.ly/JavaIn3Hours 🤖
@andreif198
@andreif198 4 жыл бұрын
Best video about polymorphism I've found so far. Thank you Bill!
@BillBarnum
@BillBarnum 4 жыл бұрын
Thanks for the feedback, Andrei!
@gramstalex
@gramstalex 4 жыл бұрын
Cheers bill, clear and concise. The practical examples really add value.
@BillBarnum
@BillBarnum 4 жыл бұрын
Thanks for the feedback Alex. I'm glad you found the video useful!
@danmiller7709
@danmiller7709 4 жыл бұрын
Brilliant explanation, just what I needed. Thank you.
@BillBarnum
@BillBarnum 4 жыл бұрын
Great to hear!
@miust
@miust 5 жыл бұрын
the way you explain and present the information is super clear. thank you very much, you helped me a lot.
@AP-pm9qy
@AP-pm9qy 4 жыл бұрын
Ok so even though Animal extends Mammal and has inherited the controlTemp() method from Mammal, only the methods in Lion and the methods in the original methods in Animal can be accessed.
@BillBarnum
@BillBarnum 4 жыл бұрын
Mammal is a subclass of Animal, so we would say that Mammal extends Animal. Animal is a superclass of Mammal, so Mammal can inherit from Animal, but not the other way around. controlTemp is part of the Mammal class so Mammal has access to it. Lion is a subclass of Mammal, so Lion would inherit it from Mammal.
@AP-pm9qy
@AP-pm9qy 4 жыл бұрын
@@BillBarnum Ok thanks! I actually watched a couple more of your videos and understood it a lot better.
@harshsharma57
@harshsharma57 3 жыл бұрын
nice video , btw in Java i think you cannot have more than one subclasses of a class @1:06
@BillBarnum
@BillBarnum 3 жыл бұрын
Hey Harsh, Java classes can have many SUBclasses, but can only have one SUPERclass.
@mahdiko7624
@mahdiko7624 5 жыл бұрын
usefull
@satvikjha8932
@satvikjha8932 3 жыл бұрын
Not all heroes wear capes
Objects and References with Polymorphism (Java Tutorial)
5:04
Bill Barnum
Рет қаралды 11 М.
Static in Java Tutorial #75
6:16
Alex Lee
Рет қаралды 262 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Java Programming Tutorial - 55 - Intoduction to Polymorphism
8:21
thenewboston
Рет қаралды 748 М.
Getters and Setters Java Tutorial #84
14:12
Alex Lee
Рет қаралды 516 М.
How to Stop Procrastinating and Finally Take Action
16:31
Ali Abdaal
Рет қаралды 133 М.
Learn English quickly with Smart Podcast | Episode 86
13:18
English Smart Podcast
Рет қаралды 2,2 М.
Primitive and Reference (Object) Types in Memory (Java Tutorial)
5:12
Casting an Object (Upcasting and Downcasting) - Java Tutorial
5:53