Home » JAVA Programming » Methods » Question
  1. Which of these can be used to differentiate two or more methods having same name?
    1. Return type of method
    2. Number of parameters
    3. Parameters data type
    4. All of these
    5. None of these
Correct Option: D

Return type of method, Number of parameters and Parameters data type can be used to differentiate two or more methods having same name.



Your comments will be displayed only after manual approval.