
April 21st, 2002, 12:50 PM
|
 |
Contributing User
|
|
Join Date: Mar 2002
Posts: 253

Time spent in forums: 2 Days 19 h 40 m 27 sec
Reputation Power: 12
|
|
|
What does "this" mean?
 I know "this" means this, but what is this? When you write an applet, "this" refers to the applet? e.g.
gBuffer.drawImage (back, 0, 0, this);
Then when you write a class what does "this" refer to? e.g
public void setPosition(int x, int y)
{
this.x=x;
this.y=y;
}
What is "this"?
Thank you for any help.
|