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
how does the run() method in runnable work? : Java thread
What is __ init __ functions?
What is derived datatype?
What is an exception? difference between Checked and Unchecked exception in Java
What is the technique adopted to create an immutable class?
Discuss different types of errors that generally occur while programming.
Are arrays immutable in java?
What is a short in java?
What is the finalize method do?
Can we use both this () and super () in a constructor?
What is the difference between call by reference and call by pointer?
How can you share data between two thread in Java?
What are the 6 boolean operators?
What does compareto () do in java?
What is get () in java?