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]
