While statementTopMagnet LabParameters and variables

Parameters and variables

We reviewed the differences between instance variables, local variables, and parameters.

We noted that it's possible to mask an instance variable by having a parameter or local variable with the same name, but that you can use this. to note that you really mean the instance variable.

We talked about the difference between public and private for both classes and methods.


While statementTopMagnet LabParameters and variables