English

The method prototype is ______.

Advertisements
Advertisements

Question

The method prototype is ______.

Options

  • the method name

  • the method argument list

  • the declaration of the method

  • the complete method 

MCQ
Fill in the Blanks
Advertisements

Solution

The method prototype is the declaration of the method.

Explanation:

A method prototype is the declaration of a method. It specifies the method name, return type, and parameter list but does not contain the method body.

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. (i) | Page 90
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×