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 |
What is the driver class?
What initialize variables?
What does int argc char * argv [] mean?
What is difference between printf and scanf?
what is difference between method overloading & method overridding with example?
where the static methods will live ,on stack ? can you explain brefly
What is independent and dependent variables in research?
How do you classify Dialog Box?
what is the difference between pagecontext and servletcontext?
What are the differences between throw and throws?
what is difference between excute query ()and execute update ()?
Can a class be declared as static?