The number of values that a method can return is ______.
Advertisements
Question
The number of values that a method can return is ______.
Options
1
2
3
4
MCQ
Fill in the Blanks
Advertisements
Solution
The number of values that a method can return is 1.
Explanation:
A java method can return only a single value.
shaalaa.com
Is there an error in this question or solution?
Chapter 3: User-Defined Methods - Exercises [Page 90]
