Distinguish method overloading and method overriding

Answer Posted / sagar.rds

Method overloading is compile time polymorphism and method
over riding is Runtime polymorphism.Method oveloading is
having same name and different parameters and different
return type also.Method overriding same name with same
parameters and having same return type

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the super void?

448


What about member inner classes?

619


What are thread groups?

566


What is difference between variable declaration and definition?

505


What is void keyword?

662






What is a constructor overloading in java?

513


What is the Scope of Static Variable?

723


Explain about fail safe iterators in java?

556


How to instantiate member inner class?

619


How do you declare an array that will hold more than 64KB of data?

634


Is java free for commercial?

486


What is a war file?

536


What is import java util arraylist?

646


What is a nested class?

582


How do you sort objects in java?

508