The first kind of variables discussed in these lessons are inputs. Inputs, a.k.a. parameters, to Logo procedures and Java methods provide the power to describe a process (a set of steps) that does different things, depending on the argument(s) provided when the method or procedure is invoked.
All variables have an attribute called scope. What this means is where in your program's source code the variable may be used. As an example, input parameters may only be referenced inside of the method/procedure they are defined for.
In Java, variables have a specific type attribute, e.g., int, boolean, a class identifier, etc... What you can do with the variable depends upon this type.
Back to Table of Contents