Distinguish method overloading and overriding
Answers were Sorted based on User's Feedback
Answer / pralay
Method Overloading is functionality of java in which we can
declare many method with same name but different signature
in one class, but Overriding is a the process of declare a
method which is already define in super class, this Method
has same name and same signature as super class.
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / 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 |
difference between vectorlist and hash
what is a package?
What is a function argument in java?
What is tochararray in java?
How do you compare characters in java?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
What is difference between protected and private?
Can we sort list in java?
Can we write class inside a class in java?
What is finalize()? Is finalize() similar to a destructor?
How do you escape in java?
Is java same as core java?