Submitted Questions

  • what is method overriding and method overloading and give the scenario where it is used.

    Deepti Kajjam

    • Feb 22nd, 2007

    Overriding vs. OverloadingMethod overriding requires the same method signature (name and parameters) and the same return type. Only non-final instance methods in the superclass that are directly acces...

    Antony Praveen Kumar

    • Dec 1st, 2006

    Method over loading : Compile time the compiler will decide which method to execute.(Example for compile time polymorphism)Method over ridding : At run time OS will decide which method to execute.(Example for Runtime polymorphism)