HomeОбразованиеRelated VideosMore From: The Coding Train

4.7: Introduction to Polymorphism - The Nature of Code

718 ratings | 35334 views
This video looks at the topic of polymorphism in object-oriented programming. Read along: http://natureofcode.com/book/chapter-4-particle-systems/#chapter04_section6 https://github.com/shiffman/The-Nature-of-Code-Examples/tree/master/Processing/chp4_systems/NOC_4_05_ParticleSystemInheritancePolymorphism Help us caption & translate this video! http://amara.org/v/QbwE/
Html code for embedding videos on your blog
Text Comments (53)
sdaf (17 days ago)
This guy's enthusiasm is addictive.
Holthuizen oemoet (23 days ago)
simply amazing , your explications are fantastic !
kossyoto1 (24 days ago)
Man, thank you so much for the great tutorial, I love the way you explain as well as the energy you put into you videos, learning from you a lot! Keep rocking!
k1awdttt (1 month ago)
Just want to let you know that your explanation is very good with great and clear examples. I'd love to see more abstract concepts being explained by you too, like using abstract class in concrete class in OOP designs, invariant and variant, observer vs observable, event-driven design, etc.
Joash Kick (1 month ago)
Dude ...I quess your students won't afford to miss any of your class ,Profesori
Manifacier Ian (1 month ago)
Daniel you are the best!
Ahmed Tabti (1 month ago)
:) very good exempl its very helpful for inderstanding polymorphism ,thanks very mutch ,
Marc Vanec (1 month ago)
well done, sir.
Aykhan G (1 month ago)
I don't understand after 6.30. What is that class?
Yazan Salman (2 months ago)
You Are Awesome
Hossein Nedaee (2 months ago)
Thanks you, it was very helpful to know what is Polymorphism
Saadiya Fourie (2 months ago)
YES SIR! You're amazing, appreciate the enthusiastic, relatable way you lay it down. I am so much more confident about Java.
Jack Roberts (3 months ago)
Awesome. You're a great teacher. :)
Anonymous 42 (3 months ago)
Faisal Adil (4 months ago)
That was fun to look.
kidd Ba (4 months ago)
I really enjoyed your video!!thank you so much!!
TheUsman141 (4 months ago)
wish i could give 100 likes
Man you are incredible....... how do you do this!?!? your videos made my day 💖💖
Jie Lyu (5 months ago)
good video!
DaveKeehl (5 months ago)
I love you so much
RandomVeda (5 months ago)
yasss. Finally a FUN java lesson.
michał botor (5 months ago)
really cool concept is this polymorphism. and your explanation of this and inheritance was so exceptional. now i finally understand them thoroughly.
Michuu (5 months ago)
I love how fun you are, don't often smile so helplessly when I learn JS
Daniel Velazquez (6 months ago)
Effeciently and effectively explained - extra credit for the passion. You've earned a new sub
Satoshi Nakamoto (6 months ago)
i always wondered how big is his board
A (6 months ago)
GREAT ACCENT!! I can understand everything :)
Tim Sandman (8 months ago)
So Simple! Wow After a year and a half I got it! Dan's videos are really great to watch. I am learning Java but they translate to any language at a certain level.
Jack Hanford (8 months ago)
SG BOSS (8 months ago)
ty mate
EmporerAxel (8 months ago)
Thanks so much for this, this was one of those concepts where I understood the theory but couldn't understand why I would use it or why it was so important. Your enthusiasm is infectious :)
Tyler Stephenson (8 months ago)
Thank you so much. You really helped me understand it.
BeeLi BaaLa (9 months ago)
Your enthusiasm is appreciated over the monotonic Indian java vids.
nishant chimote (2 days ago)
exactlyyyyyy that's why I am here :D
bicboi46 (3 days ago)
+7 cc Hg ehh, teslusko is pretty good
nikhilesh methuku (5 days ago)
yeop. First language gives an edge.
7 cc Hg (4 months ago)
ikr, no offense to Indians, my first full programming course was from an Indian and it was awesome, but Indians just seem to lack a sense of humor which for me is crucial for a teacher to keep the students going.
Anthony Jones (9 months ago)
Thank you so much for this video, I finally understand what Polymorphism means now!
kustomweb (9 months ago)
1000 new subscribers every day. Great channel
Nickson Mlelwa (9 months ago)
Wow it's so nice sir!!!
Ikpoppy (11 months ago)
X Error:err
Daniel (11 months ago)
"I'll edit that out", always :)
michał botor (5 months ago)
it's like a running joke among creators these days. ;p
Richard Yuan (1 year ago)
who is that one dislike
the github link is dead :c
weltraumimport (1 year ago)
congrats to 200k subscribers!
miranda mayor (2 years ago)
In 8 minutes I understood what I could not understand with my teacher in 2 hours. Thank you so much
Jared Chong (1 day ago)
School is not really teaching people to be smart.Its to create industrial age employees. They taught people in a one way learning style and dislikes creative diverse ways of learning.
Marie Bure (3 months ago)
Same here :D!
JA L (1 year ago)
Right! People like him I would be happy to take a loan out and pay for this amazing teaching.
Ranjan Nayyar (2 years ago)
I have a question. If suppose I add another method into the dog class, which is an extended version of the animals class but this method does not exist in the basic animals class. I want to run that method in the same loop for (animals a: kingdom). I am assuming that is not possible.!
Horst koston (9 months ago)
can you not also do if( a instanceOf Dog){ execute method defined in dog class} ?
The Coding Train (2 years ago)
+Ranjan Nayyar It's possible but you would need to check if the object is a Dog object or not and then cast it as a Dog object. Something like if (obj.getClass().getName() == "Dog").
Isak W (3 years ago)
Videos 8 and 9 seem to be set as private in this Nature of Code playlist.

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.