Interview Question
Qus: What are the advantages of passing this into a method instead of the current class object itself?
Answers (1)
o this is a final variable. Therefore, this cannot be assigned to any new value whereas the current class object might not be final and can be changed.
o this can be used in the synchronized block.