+ 7
Pls can someone give me a detailed explanation on "this" as relates to java, I do not fully understand how it works
For example: button.addActionListener (this);
1 Antwort
+ 13
"this" refers to the current object. You may follow this thread for more details : https://www.sololearn.com/Discuss/256082/?ref=app