What is the purpose of having the concept of overloading?

Answer Posted / vinay

overloading is used to achieve reusability and extensibility

Is This Answer Correct ?    23 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between public, private, protected, and friend access?

566


How do you control extraneous variables?

495


What are namespaces in java?

513


What is Garbage Collection in Java

599


If an application has multiple classes in it, is it okay to have a main method in more than one class?

530






Wha is the output from system.out.println(“hello”+null); ?

681


What are the benefits of java?

565


can used Protected Class outside Function.?

602


Explain wrapper classes in java?

522


How long will it take to learn java?

496


Can we modify the throws clause of the superclass method while overriding it in the subclass?

542


Difference between association, composition and aggregation?

550


What is difference between iterator access and index access?

638


Explain treeset?

583


What is a condition in programming?

547