Examveda

Which of these statement is incorrect?

A. Two or more methods with same name can be differentiated on the basis of their parameters data type

B. Two or more method having same name can be differentiated on basis of number of parameters

C. Any already defined method in java library can be defined again in the program with different data type of parameters

D. If a method is returning a value the calling statement must have a variable to store that value

Answer: Option D


This Question Belongs to Java Program >> Miscellaneous In Java

Join The Discussion

Related Questions on Miscellaneous in Java