What is the difference between overloading and overriding a
function?
Answers were Sorted based on User's Feedback
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 |
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 |
What do you understand by java?
jdbc drivers?
What is static method with example?
What is the immediate parent class of the Applet class?
What is the range of a character variable?
What differences exist between iterator and listiterator?
How to know the host from which Applet is originated?
Why does abstract class have constructor?
What is use of functional interface in java 8? Explain
Why we use protected in java?
Difference between flush() and commit() in hibernate?
Which variables are stored in heap?