Computer Applications
State whether the following statement is True or False :
If a method returns a value, then it must be of the same data type as defined in the method prototype.
User Defined Methods
10 Likes
Answer
True
Answered By
2 Likes
Related Questions
State whether the following statement is True or False :
In Java, all primitive types are passed by value and all reference types are passed by reference.
State whether the following statement is True or False :
You can place the return statement in a void method without any expression.
State whether the following statement is True or False :
Parameters in the method definition are called dummy parameters.
State whether the following statement is True or False :
Methods reside in a class in Java.