Does the fact that Band inherits from Artist mean that it is also of type Artist as well as Band?
Yes.
when you say "class B extends A", then EVERY 'B' is also an 'A'. Sort of like "class Mustang extends car". Every Mustang is a car, but not every car is a Mustang. anyplace you need a car, you can use a mustang.
[ October 29, 2008: Message edited by: fred rosenberger ]
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors