What is the purpose of having the concept of overloading?
Answer Posted / narendra
Method overloading is one of the ways that Java implements
polymorphism. It allows related methods to be accessed by
use of a common name. Use it when you actually do need
multiple methods with different parameters, but the methods
do the same thing.
Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
Define max and min heap, also the search time of heap.
How do I remove a character from a string in java?
Can we compare two strings in java?
What is core java used for?
What is the difference between Error, defect,fault, failure and mistake?
Do I need java for windows 10?
Why Java doesn’t support multiple inheritance?
What is the purpose of the System class?
Difference between comparator and comparable in java?
Can set contain duplicates?
Which package has light weight components?
What is static class
What is files manifesting?
What are singleton services?
Are variables stored in ram?