This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes polymorphism Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "polymorphism" Watch "polymorphism" New topic
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: polymorphism
 
Similar Threads
polymorphism
4 key points about Oops
OOP-4 hints please.
Method Overloading and overriding
polymorphism