📜  java代码示例中的局部变量是什么

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

代码示例1
Local variables are declared in methods,
constructors, or blocks. Local variables 
are created when the method, constructor 
or block is entered and the variable will
be destroyed once it exits the method, 
constructor, or block.