Hi Giselle. Let me see if I'm understanding my
SCJP studies ;-).
a is an instance variable, so it'll be initialized by
null.
since you're doing :
you're concatenating a
string representation with the value of the instance variable, which is null (not pointing to anything), so the
null value gets promoted to a String (the toString method is not invoked). So it prints:
a = null please correct me if I'm wrong.