मराठी

A method can return ______ (one/multiple) variables.

Advertisements
Advertisements

प्रश्न

A method can return ______ (one/multiple) variables.

रिकाम्या जागा भरा
Advertisements

उत्तर

A method can return one variables.

Explanation:

A method can return only one value using the return statement.
If multiple values are needed, they can be returned by using an array or an object.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 3: User-Defined Methods - Exercises [पृष्ठ ९१]

APPEARS IN

रूपा पंडित Computer Applications [English] Class 10 ICSE
पाठ 3 User-Defined Methods
Exercises | Q 2. (v) | पृष्ठ ९१
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×