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

difference between vectorlist and hash

1 Answers   TCS,


what is a package?

11 Answers  


What is a function argument in java?

0 Answers  


What is tochararray in java?

0 Answers  


How do you compare characters in java?

0 Answers  






Add a value x to array from index l to r where 0 <= l <= r <= n-1

0 Answers   Amazon,


What is difference between protected and private?

0 Answers  


Can we sort list in java?

0 Answers  


Can we write class inside a class in java?

0 Answers  


What is finalize()? Is finalize() similar to a destructor?

0 Answers  


How do you escape in java?

0 Answers  


Is java same as core java?

0 Answers  


Categories