Method Declaration.

Q124. Define Method Declaration.

Ans. Method Declaration is also called method prototype. It is the statement that declares a method’s name, return type, number and type of its arguments.

Method Declaration is the first line of its arguments.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: