I'm trying my hand at Java, but I don't know how this works.
Is it like:
Code:
class Alfabet {
class Vowel extends Alfabet { }
}
or:
Code:
class Alfabet {
}
class Vowel extends Alfabet {
}
So like two seperate classes linked by the word extend, or is one class really inherited inside a class?
Forgive me if I sound stupid, but I'm doing the Java Tutorial, and I only got to this page java.sun.com/docs/books/tutorial/java/concepts/inheritance.html and it's cracking my mind. Thanks!