Home » JAVA Programming » Methods » Question
  1. Which of these statement is incorrect?
    1. Two or more method having same name can be differentiated on basis of number of parameters
    2. If a method is returning a value the calling statement must have a variable to store that value
    3. Two or more methods with same name can be differentiated on the basis of their parameters data type
    4. Any already defined method in java library can be defined again in the program with different data type of parameters
    5. None of these
Correct Option: B

Even if a method is returning a value, it is not necessary to store that value.



Your comments will be displayed only after manual approval.