<code>Dog a = new Dog(); Dog b = a; b = null;</code> — what is <code>a</code>?
- Acheck_circle
Still references the original Dog
- B
Garbage collected
- C
Compile error
- D
null
Explanation
<code>b = null</code> only affects b's reference; a still points to the Dog.