What is the difference between overloading and overriding a
function?

Answers were Sorted based on User's Feedback



What is the difference between overloading and overriding a function?..

Answer / rohit

overriding is used in diferent class with same parameters
overloading method :- is sem class in defintoin.
overriding method:- is subclass and super class in
definatioc

Is This Answer Correct ?    0 Yes 0 No

What is the difference between overloading and overriding a function?..

Answer / meraj ansari

this answer is correct

Is This Answer Correct ?    0 Yes 0 No

What is the difference between overloading and overriding a function?..

Answer / nishchita

In overloading 2 function should have different signature
but in overriding must have exactly same signature.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What do you understand by java?

0 Answers  


jdbc drivers?

8 Answers   Wipro,


What is static method with example?

0 Answers  


What is the immediate parent class of the Applet class?

1 Answers  


What is the range of a character variable?

0 Answers  






What differences exist between iterator and listiterator?

0 Answers  


How to know the host from which Applet is originated?

1 Answers   Wipro,


Why does abstract class have constructor?

0 Answers  


What is use of functional interface in java 8? Explain

0 Answers  


Why we use protected in java?

0 Answers  


Difference between flush() and commit() in hibernate?

2 Answers   Bally Technologies,


Which variables are stored in heap?

0 Answers  


Categories