When can we use the keyword "this" to refer to an object?

within the object's methodsanywhere in our codeoutside the object's methods

within the object's methods.