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

26th May 2020, 8:34 AM
stephen haokip
stephen haokip - avatar
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 ~
26th May 2020, 8:37 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
0
Thank you kuba
26th May 2020, 8:38 AM
stephen haokip
stephen haokip - avatar
0
Thank you
26th May 2020, 8:51 AM
stephen haokip
stephen haokip - avatar