Question 4
Back to Exercise
After Car b = a;, how many Car objects exist (assuming a referred to one)?
- A 2
- B 1 – both variables refer to the same object Correct
- C 0
- D It depends
Correct Answer: Option B
Only the reference is copied.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!