jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes This Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "This" Watch "This" New topic


Jacob Coddaire
Ranch Hand

Joined: Jan 11, 2011
Posts: 36

When writing code, what does "this" refer to?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

The current instance.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: This
It's not a secret anymore!