Vidyalelo
Java Programming · Q18

Constructors and Methods

Programming · Java Programming · question 18

Q18

What is the purpose of method parameters in Java?

A.
To pass values into a method
Answer
B.
To define local variables
C.
To specify the return type
D.
To create instance variables

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board