Learn Java Tutorial 1.9- Subclass Extends Superclass (Inheritance)

preview_player
Показать описание
In this Java tutorial we will learn about inheritance, and how a subclass extends superclass. This concept is class inheritance, and we will learn what that means in this tutorial.

Learn more about this tutorial and get the source code for in our blog post:

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

The kinda laid back way you explain stuff constantly makes me chuckle!

kristiananastasiou
Автор

Dude, you are born to be a professor ... I mean ... You explain so good ... really, great job ... I've been watching some guys tutorials all day but he was focused on some other things .. I got all 9 tutorials perfectly good in 1 hour ... + I've been adding some stuff to codes and it's working, finally understood what constructors are ... thank you very much ! :)

lukamilosevic
Автор

"...dog, cat, elephant and zebra. You know, all the common things in a pet shop".
What kind of pet shops do you have in your area?

ducmac
Автор

stop putting down your amazing work, its really helpful and not lame! this was 2011 so I hope you now appreciate how good you are for explaining this in such an easy to understand way. 

hayleybillingham
Автор

"let's say you are creating, you know this like PETSHOP, or something... with a dog, a cat, elephant, uhh zebra, you know all the COMMON things in a petshop"

So laugh i forgot to funny >.< Nice tutorials btw, Though I know all of this, I', teaching a friend of mine and I told him to watch these vids while im unavaible xD

JavaBuckets
Автор

you keep saying it is a "lame" example, but it was a great example. I feel more comfortable with super/subclasses now. so... THANKS!

helloluiis
Автор

Your tutorials are one of the only that are worth watching. Thanks for the upload dude.

Teraprinny
Автор

"Dog, Elephant, Giraffe, all the common things in a petshop". I want to go to that pet shop.

dancronin
Автор

Open that bad boy up! lol Love it. From now on, I'll be saying that every time I open a class.

Bryan-zong
Автор

I wish I could give a few more thumbs up. These are excellent tutorials. I went into this with a little knowledge of java, but even watching you covering the parts I already learned, I found out some new stuff

HwoDragon
Автор

I have been listening to your Java and Android playlists and they are really good. But specially they are so cool. I am always with a smile listening to it and I found it so funny when you said "does it live on earth", I was thinking, he is going to create a subclass named Alien Animals. Love it. Keep on going with your fantastic tutorials!

buxilala
Автор

Truly awesome. I went to my final after watching your videos. Of course I had to read other stuffs, but you tutorial made it quite clear to me. I wish you could add more stuffs in there, I mean in general. Great job. Thank you.

rajt
Автор

Just in case anyone is confused, the example set out just explains the capabilities of object inheritance. With the child/sub class you don't need to override and call each super method. You get those automatically without needing to override.

doop
Автор

It makes a lot of sense, thank you for great tutorials💐

avivi
Автор

thank you so very much...You managed to explain things that I couldn't understand...and yeah, I'm gonna kick some asses on the test tomorrow :)

MilicaGP
Автор

Awesome, thanks for the kind words. Best of luck buddy

mybringback
Автор

keep up the good work.. its very easy to understand.. I wish my Bachelors was like this..

hrg
Автор

"...dog, cat, elephant and zebra. You know, all the common things in a pet shop"...LOL - I mean, who sells cats in a pet shop?

domemvs
Автор

do you need to copy the method into the class like that? or can you have an object and call the isItOnEarth method onto that object?

JamesJohnHudson
Автор

how do you extend objects from other classes? like if you wanted to extend the dog object to a happy dog object. You want to keep the same attributes of dog (breed and name) but you want to add them along with a string happy to make a new object called happyDog in a new class called emotion. How would I do this? your example really only covers methods and not bringing in objects so that you can use them with other compilers.

KBGameReview
join shbcf.ru