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 is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
What is user defined exception in Java?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
if u open login & logout ,how can udisplay the timelogin & logout members ?
Can I import same package/class twice?
What is equals method in java?
What is meant by data hiding in java?
what is object slice?
What is try-with-resources in java?
Why wait and notify methods are declared in object class?
Can you make a constructor final in Java?
What is static variable with example?
What is the use of singleton class?
What is the functionability stubs and skeletons?