What are Advatages of Overloading and Overridding.
Answer Posted / arun lal
Method Overloading Advantage- Suppose we make a calculator program after some time we want change or add some new feature
then we overload the method, So we can reuse the our previous code and Can Add new .
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is set thread safe java?
What invokes a thread's run() method in java programming?
Do you need to import math in java?
Why for each loop is used?
Can we override a variable in java?
Can inner class extend any class?
What is tostring () method?
How is hashcode calculated in java?
What is difference between static and abstract class?
What is the purpose of garbage collection in java?
Is void a keyword in java?
What is a byte string?
What is the indent key?
Does java have a compiler?
Explain differences between checked and unchecked exceptions in java?