Why this code works? (reference to a class's private variable)

Printable View