...以分为两种,如下所示: 数依照有效范围可以分为两种,如下所示: •• 区域变数( 区域变数(Local Variables Local Variables): ):程式区块范 程式区块范 围的变数是一种区域变数,例如:函数宣告的 围的变数是一种区域变数,例如:函数宣告的 变数或参数...
基于2个网页-相关网页
This would be a major change to programmer expectations about local variables, especially in the absence of any special declaration that this is one of those weird new long-lived local variables.
这是对程序员关于局部变量的预期的重大变更,具体来讲,缺少了任何将此变量声明为奇怪的、新的耐久局部变量的特殊声明。
Although you should avoid name hiding (giving local variables the same names as attributes), the use of accessors to always access attributes means you can give local variables any name you want.
虽然应该避免名称隐藏(为本地变量赋予与属性相同的名称),但是始终使用读写方法来访问属性意味着:可以为本地变量赋予任何名称。
Variables declared within a method are said to be local variables. What is the significance of the word local in this context?
方法内部声明的变量叫做局部变量。这儿局部的意思是什么?
"One of the absolutely key, most important variables as to whether or not a forest survives and continues is whether local people monitor each other and its use.
VOA: special.2009.10.16
You don't have to mention any of the local variables, because at this point in the story, they're just not relevant.
你不需要提及任何一个局部变量,因为在这个地方,它们是不相关的。
Well, because the memory we've been using for local variables, and for functions, storage space is what computer scientists generally call the stack.
好的,因为我们看到的内存是用于局部变量的,用于函数的,存储空间就是计算机科学家,通常说的堆。
应用推荐