A variable is an identifier whose
value can change at runtime. Put differently, a variable is a name for a
location in memory; you can use the name to read or write to the memory
location. Variables are like containers for data, and, because they are typed,
they tell the compiler how to interpret the data they hold.
变量是一个标识符,其值在运行时可以改变。在本地内存中,每个变量作为一个不同的名称放置;可以使用名称对本地内存读或写。变量就象数据容器,并且,因为变量被定义了类型,所以变量也告诉编译器如何解释其存储的数据。