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 |
Is string a wrapper class?
What is module in oop?
what is the use of declaring constructor as private?
5 Answers Cyient, IVY Technologies, Sai Softech, Virtusa,
How can the checkbox class be used to create a radio button?
Can a singleton class be inherited?
What is java basic concept?
What is a java string?
What are jee technologies?
Hi buddy, well i got that there is always a default constructor with abstract class. OK. But why not with interface? Thanks in advance.
What do you mean by order of precedence and associativity?
Can we have multiple catch block for a try block?
What is the size of boolean variable?