English

The number of values that a method can return is ______.

Advertisements
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]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 3 User-Defined Methods
Exercises | Q 1. (ix) | Page 90
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×