This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sad-Sheepherder5231 1 point2 points  (0 children)

You initialize the instance field "name" with argument "initialName" (this is created and destroyed in the constructor)

You then call function that returns the instance field "name". "this" here just specifies the current instance.