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 balanced tree in java?
How does linkedhashmap work in java?
How can we make copy of a java object?
How do I type unicode?
What is mnemonic code?
Does .length start 0 java?
What is var keyword ?
What do the thread?class methods run() and start() do?
Compare Mutex and Semaphore in java.
Difference between Preemptive scheduling vs. Time slicing?
When we should use serialization?
Can java object be locked down for exclusive use by a given thread?
Which are the two subclasses under exception class?
What is difference between path and classpath?
What is an object class?