Advertisements
Advertisements
प्रश्न
The number of values that a method can return is ______.
विकल्प
1
2
3
4
MCQ
रिक्त स्थान भरें
उत्तर
The number of values that a method can return is 1.
Explanation:
A java method can return only a single value.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
Write a method prototype name check() which takes an integer argument and returns a char:
A method which does not modify the value of variables is termed as ______.
Method prototype for the method compute which accepts two integer arguments and returns true/false.
Assertion(A): An argument is a value that is passed to a method when it is called.
Reason(R): Variables which are declared in a method prototype to receive values are called actual parameters.