September 2011
Beginner
650 pages
15h 47m
English
Perhaps no other construct is as important to a programming language as the assignment of a value to a variable. A variable is a named memory location that can be assigned a value. Further, the value of a variable can be changed during the execution of a program. That is, the content of a variable is changeable, not fixed. The following program creates two variables called var1 and var2:

When you run this program, you will see the following output:
![]()
This program introduces several new concepts. First, the statement
declares ...
Read now
Unlock full access