1

Possible Duplicate:
What is the difference between Class.this and this in Java

I know what this means in Java, but sometimes I see something like SomeClass.this, what does it mean? does it refer to a static class filed? Could you please explain with an example?

Thanks.

Community
  • 1
  • 1
Eng.Fouad
  • 111,301
  • 67
  • 311
  • 403

1 Answers1

3

It is a way code in a method of your inner class can refer to the encompassing outer class instance.