Java Tutorial 13 - Inheritance (Superclass, Subclass, & extends)

preview_player
Показать описание
In this tutorial, you'll learn how to use superclass and subclass and the purpose of it. You will also learn a new keyword/syntax called "extends."
Рекомендации по теме
Комментарии
Автор

This actually really helped me out. I would probably be monotone too talking to my friggin computer. Just deal with it and follow along. Its a good tutorial

Vincstylez
Автор

Much easier to learn this way than from the book. It's easier than I thought.

inlovewithi
Автор

This is good. Makes sense. Thanks for putting it up!

theochasid
Автор

I learned a very good example of Inheritance in Java class at college. It's very interesting

Traceguy
Автор

Tutorials are great. Simple and gets right to the point. Thanks for making them!

snewmy
Автор

@JeffTheRambler You are correct. Tutorial2 is basically the extension of tutorial3. It's like those two classes are combined into one class, but it's really not. I hope I didn't cause any confusion.

JohnGizdich
Автор

I got it and ive been learning java for 4 weeks now so i think you did a good job. I would like to see you using eclipse though ... but thats just a personal preference it doesnt matter :)

bluemagictube
Автор

@L8JLMnky Those two keywords are used when you have a global and a local variable that are identical. Those two keywords prevents shadowing/confusion to the program. I have two video tutorials over those two keywords if you want a detailed explanation.

JohnGizdich
Автор

@JeffTheRambler Yes, it will automatically execute.

JohnGizdich
Автор

@m4712ix Sorry about that. I might redo this tutorial soon...

JohnGizdich
Автор

Thanks man, It's better to watch YouTube tutorials than to read eBooks :)

WennieBoy
Автор

Naw, dude. That was pretty awesome. Thanks!

juliolopez
Автор

thanks yo X_X kinda get what to do for extend now

hirosoccer
Автор

this is helpful and all but dude you really should consider getting an IDE like Eclipse or JCreator or something

cdowns
Автор

whats the difference in using multiple method and using inheritance ??

alabhyadahal
Автор

oh, saying "javac Tutorial1.java" will compile all .java files accociated with it. So it will also compile 2 and 3. You could also say "javac *.java" and compile all java files in the directory.

Traceguy
Автор

son of a BISCUIT. This is a prime example of why developers shouldn't be teachers.

mix
Автор

lol This made me laugh. The reason my voice sound "retarded" is I wasn't a big public speaker at the time. I also wasn't used to talk much in front of the computer screen, and that is most likely why it sounds like that.

JohnGizdich
Автор

When do you use the reserved word *super* or *this*

LJLMnky
Автор

I love your tutorials but it seems like ur sleep making tutorials.

Grummpyro