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
What happens when heap memory is full?
Differences between traditional programming language and object oriented programming language?
What is the use of arraylist in java?
Which is the class in java?
What is anti pattern in java?
What is a prefix function.write down a code to compute prefix function.
Is integer a class?
Which programming language is best in future?
Is a class subclass of itself?
What is the lifetime and scope of a variable?
What does int argc char * argv [] mean?
Write a method that will remove given character from the string?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
Can final class have constructor?
What is data movement?