Advertisements
Advertisements
Questions
What is meant by method prototype?
Answer the following in brief. Give a reason/example wherever applicable.
What is meant by method prototype?
Give Reasons
Short Answer
Advertisements
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
Notes
Students can refer to the provided solution based on their preferred marks.
Is there an error in this question or solution?
Chapter 5: User - Defined Methods - EXERCISES [Page 336]
