Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question about syntax

Status
Not open for further replies.

germina

Programmer
Jan 27, 2003
2
UA
What does it mean SomeClass.this in java? Please help, i'm not a java-programmer.
 
'this' is a reference to a class's self instance.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
yes, but I asked about 'SomeClass.this':
class FooClass extends SomeClass {
.........
OtherClass obj = new OtherClass(SomeClass.this);
..........
};
It's type casting or something else?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top