| Author |
polymorphism
|
adam Lui
Ranch Hand
Joined: Sep 03, 2007
Posts: 186
|
|
polymorphism allows a variable of the superclass to refer to an object of the subclass. wats the benefit? how do we practically use it? Does this topic occupy big part in the exam?
|
boolean b = true;<br />System.out.println ("I believe in Java.<br />Java will make my dream come " + b);
|
 |
marc weber
Sheriff
Joined: Aug 31, 2004
Posts: 11343
|
|
|
Yes, polymorphism is a very important topic. See How my dog learned polymorphism to see why.
|
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
|
 |
 |
|
|
subject: polymorphism
|
|
|