Distinguish method overloading and method overriding
Answer Posted / sushila
method overloading is method name should be same but
signature should be different.
method overriding is method name and arguments should be
same but return type will be same or wider.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is java string pool?
What is meant by class and object in java?
What is hashmap and map?
What is the difference between keyword and identifier?
What is public static?
Enlist few advantages of inheritance?
What is meant by class loader? How many types are there? When will we use them?
What is the preferred size of a component in java programming?
Can we create our own daemon thread?
What do you mean by order of precedence and associativity?
Can we overload final method in java?
How hashmap works in java?
What are the different types of inheritance in java?
What is the difference between dom and sax parser in java?
What are keywords and reserved words in java?