what is overloading in java?

Answer Posted / narendher sharma

Methodoverloading occurs with in the class..

Methodoverloading will not involve in Inheritance ..

Method overloading means whic is same method name with
different arguments and parameters may be same may not be
same..



Methodoverloading is call as Compiletime polymorphism which
refers as static polymarphism..

Is This Answer Correct ?    76 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is main function purpose?

768


How do you clear a method in java?

769


What is linkedlist in java?

751


Can abstract class have private constructor?

732


Explain with example the concept of constant variable in java.

896


What is the difference between form & report?

835


What is the method overriding?

839


Difference between current previous versions of Java?

806


We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.

1734


Can we declare main () method as non static?

732


What is a method vs function?

780


Why heap memory is called heap?

793


Is null false in java?

964


How do you create a null object?

803


When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

810