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.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.