Distinguish method overloading and overriding

Answers were Sorted based on User's Feedback



Distinguish method overloading and overriding..

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

Distinguish method overloading and overriding..

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

Post New Answer

More Core Java Interview Questions

What is the driver class?

0 Answers  


What initialize variables?

0 Answers  


What does int argc char * argv [] mean?

0 Answers  


What is difference between printf and scanf?

0 Answers  


what is difference between method overloading & method overridding with example?

4 Answers   IBM,


where the static methods will live ,on stack ? can you explain brefly

1 Answers  


What is independent and dependent variables in research?

0 Answers  


How do you classify Dialog Box?

0 Answers   CGI,


what is the difference between pagecontext and servletcontext?

5 Answers   JBA Infotech, TCS,


What are the differences between throw and throws?

0 Answers  


what is difference between excute query ()and execute update ()?

6 Answers   Symphony,


Can a class be declared as static?

0 Answers  


Categories