Advertisements
Advertisements
Question
Parameters used in the method definition are called:
Options
Forward parameter
Actual parameter
Formal parameter
None of the above
MCQ
Solution
Formal parameter
Explanation:
Formal parameters are placeholders stated in the method declaration that receive the values or variables passed during a method call. These arguments are declared in the method signature and serve as local variables within the method.
shaalaa.com
Is there an error in this question or solution?