What is the difference between overloading and overriding a
function?
Answer Posted / nishchita
In overloading 2 function should have different signature
but in overriding must have exactly same signature.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What state is a thread in when it is executing?
Why are generics used?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
What is meant by interface?
What is the difference between actual and formal parameters?
Explain parallel processing in java8?
How many bytes is a string java?
What does math floor () do?
Is it possible to compare various strings with the help of == operator?
Explain the overview of UDP messaging.
What are thread local variables?
What is serial version uid and its importance in java?
How many bits is a double?
What is are packages?
What is private static class in java?