About is-a relationship.
What relationship does the extends keyword represent?A. 搃s a?br>B. 揾as a?br>C. PolymorphismD. MultivarianceE. OverloadingThe correct answer according to the book is A, but why not C?Check Collection.addAll using generics.
[263 byte] By [
blutch009a] at [2007-11-27 6:09:52]

polymorphisem is Object Oriented principleits not relation is-a always rely on Inheritance , so when you called Subaro extends Car , thats mean Subaro is-a Carpolymorphisem apply to the is-a Objects
eaajea at 2007-7-12 17:14:27 >
