0
Plis help i dont get this code
When i remove the "this" keyword the output is different. Why is it different https://code.sololearn.com/ct5bBJyKrinX/?ref=app
3 Answers
+ 4
The keyword this refers to an attribute of a particular object. Without it, you refer to local attribute:
https://www.sololearn.com/learn/Java/2154/
EDIT: Thanks, ~ swim ~
0
Thank you kuba
0
Thank you