📜  什么是变量声明 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:13.495000             🧑  作者: Mango

代码示例2
A declaration of a variable is where a program says that it needs a variable. For our small programs, place declaration statements between the two braces of the main method. The declaration gives a name and a data type for the variable. ... A variable cannot be used in a program unless it has been declared.