File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 » Professional Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Polymorphism" Watch "Polymorphism" New topic
Author

Polymorphism

josephine chen
Ranch Hand

Joined: Oct 29, 2002
Posts: 216
Overloading and overriding are examples of polymorphism
Is it true??
i feel poly is runtime binding so the answer must be
overriding but in one of the mok exam they have mentioned
overloading also !!
what is right??
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3215
Overloading, says Peter van der Linden, is weak polymorphism. Binding of methods takes place at compile time. True polymorphism should, IMO, mean RUN TIME binding.


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
 
 
subject: Polymorphism
 
MyEclipse, The Clear Choice