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.