English

The prototype is the ______ (first/last) line of the method.

Advertisements
Advertisements

Question

The prototype is the ______ (first/last) line of the method.

Fill in the Blanks
Advertisements

Solution

The prototype is the first line of the method.

Explanation:

The method prototype contains the method declaration, including its name, return type, and parameters. It appears at the beginning of the method definition.

shaalaa.com
  Is there an error in this question or solution?
Chapter 3: User-Defined Methods - Exercises [Page 91]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×