I am kind of confused here. Here is the program:
It prints A1B0A0B1A0B2. I understood until how it prints A1B0 , after that I thought it would print A1B1A1B2, but it prints A0B1A0B2. How?
When a1.m2() executed, A.this.name would be A1, correct ? I don't understand when it became A0. Please help me to understand the code correctly.
Thank you so much.