Multiple choice

Objects cannot be passed to a method by use of call-by reference

  1. true

  2. false

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

Java passes object references by value. While you cannot change the reference itself to point to a new object outside the method, you can modify the state of the object being referenced, which is effectively call-by-reference behavior for object contents.