What is the difference between overloading and overriding a
function?
Answer Posted / 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 |
Post New Answer View All Answers
How do you calculate roots in java?
Can we override tostring method in java?
What is a singleton factory?
What is the formula to calculate percentage?
What is java and its types?
What is the use of keywords in java?
What is busy spin, and why should you use it?
Can an object be null?
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
What's a method in programming?
What is difference between protected and private?
What is run time allocation?
Can you make a constructor final in Java?
Which is easier netbeans or eclipse?
Can a class with private constructor be extended?