Multiple choice

In a method 'invocation', Java passes

  1. arguments by reference

  2. arguments by value

  3. arguments by pointer

  4. arguments by variable

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Java always passes arguments by value. For objects, the value passed is the reference to the object.