5
AssignmentMultiple Choice

Arrays–Passing by Reference

Question 5 • ASC Programming, Games, Apps and Society

How are passing by value and passing by reference different?

Answer
A
The first uses a copy of the value, and the second uses a memory address.
B
The first uses a single storage, and the second uses multiple storage.
C
The first uses two Java methods, and the second uses two Java classes.
D
The first uses a memory address, and the second uses a copy of the value.
Previous
Next
How are passing by value and passing by…