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
posted
0
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