Computer Science Canada

What does this. refer to?

Author:  Hugetanks [ Sat Oct 20, 2018 2:47 pm ]
Post subject:  What does this. refer to?

So I have been learning java, and I am confused about what the keyword this refers to. I know that you use this if there are two variables with the same name, but I'm not sure which one it applies to. so like = author; for example.