-
Member variables in a class—these are called fields.
-
Variables in a method or block of code—these are called local variables.
-
Variables in method declarations—these are called parameters.
fields : class中的变量
local variables : 方法中的变量
parameters : 方法中的参数
阅读(1701) | 评论(0) | 转发(0) |