Advertisements
Advertisements
Question
What is meant by method prototype?
Short Answer
Solution
A method prototype is the initial line that includes the access specifier, return type, method name, and list of parameters. It is also known as a method header or prototype.
shaalaa.com
Is there an error in this question or solution?
Chapter 5: User - Defined Methods - EXERCISES [Page 336]