Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Which of the following is false? A. An argument to a method can be an array B. A

ID: 3704178 • Letter: W

Question

Which of the following is false?

A. An argument to a method can be an array

B. A method can change the values in an array argument

C. You must specify the length of an array when you pass it as the argument to a method

D. You can have multiple arrays passed as arguments to a single method

A. An argument to a method can be an array

B. A method can change the values in an array argument

C. You must specify the length of an array when you pass it as the argument to a method

D. You can have multiple arrays passed as arguments to a single method

Explanation / Answer

Option b seems to be the correct option. You can't change the value of arguments in argument place. However, you could change value of these variable inside the method.