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
What is the difference between compiler and jvm?
How to run a JAR file through command prompt?
What is the purpose of garbage collection in java? When is it used?
What are heap memory and stack memory and what are memory tables.
What is array sorting in java?
Does hashset allow duplicates in java?
What is parsing in grammar?
What is instance means in java?
Is finalize() similar to a destructor?
What isan abstract class and when do you use it?
Write a function to find out longest palindrome in a given string?
Why map is used in java?
How does queue work in java?
What is difference between static class and normal class?
Explain the difference between private, public, package and protected in java?