Distinguish method overloading and overriding

Answer Posted / anita kumari

In case of overloading signature should be different.
In case of overriding signature should be shame. Return type should be same. And acess level will be same or wider.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is predefined function in java?

736


What is object-oriented paradigm?

805


Where is java located?

713


What is the maximum length of a url?

708


Why arraylist is used in java?

749


What is the purpose of the finally clause of a try-catch-finally statement in java programming?

699


Can we have any code between try and catch blocks?

738


What is the final keyword in java?

986


Is alive method in java?

708


What is the difference between compiler and jvm?

736


What is charat java?

730


What is data type modifier?

705


Does list maintain insertion order java?

689


Define max and min heap, also the search time of heap.

805


How to implement a multithreaded applet?

2412