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 an object in java and how is it created?

0 Answers  


Difference between the String and StringBuffer classes?

3 Answers  


what is difference between length and length()?

8 Answers  


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

0 Answers  


Give an example of call be reference significance.

0 Answers   Agilent,






how to pass the parameters to applets?

1 Answers  


What is the purpose of using javap?

0 Answers  


What is an iterator java?

0 Answers  


how can you take care of mutual exclusion using java threads? : Java thread

0 Answers  


What are the drawbacks of singleton class?

0 Answers  


What 4 doubled?

0 Answers  


explain System.out.println

107 Answers   Calpine Technologies, Care, Cognizant, CTS, IBM, IBS, LibSys, Oracle, Spiro Solutions, TCS,


Categories