Tuesday, December 30, 2008

Java questions

a. What is upcasting..
Ability to reference dereived class object with superclass reference is termed as upcasting. It allows the derived class object to be passed in funtions as parameters or return types exhibiting polymorphism characteristics.