Home » JAVA Programming » Methods » Question
  1. What is process of defining two or more methods within same class that have same name but different parameters declaration?
    1. Function overloading
    2. method overloading
    3. method overriding
    4. method hiding
    5. None of these
Correct Option: B

Two or more methods can have same name as long as their parameters declaration is different, the methods are said to be overloaded and process is called method overloading. Method overloading is a way by which Java implements polymorphism.



Your comments will be displayed only after manual approval.