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
What do you understand by the term wrapper classes?
Describe the process as to how substring() methodology mechanisms in java.
What is java beans?
Is it possible to compare various strings with the help of == operator?
Will minecraft java be discontinued?
Explain different ways of creating a thread. Which one would you prefer and why?
What are the advantages of java inner classes?
What is the collection interface?
What are inbuilt functions in java?
Does java have extension methods?
Can we define constructor in inner class?
How the metacharacters are different from the ordinary characters?
Can you use abstract and final both with a method?
Which is a valid identifier?
What is difference between throw and throws ?