相反,系统将创建新的简单类型对象并将其赋值给变量。
Instead, a new simple type object is created and assigned to the variable.
局部变量可以是基元类型或业务对象类型。
只要有可能,就使用基本变量类型,而不使用对象类型。
Use the primitive variable types instead of the object types whenever possible.
对象:变量所指向的就是对象。一个对象有特定的某个类型,以及一个值。
Something a variable can refer to. An object has a type and a value.
表达式测试两个对象引用变量与各数据类型的类型兼容性。
Expressions to test the type compatibility of two object reference variables with various data types.
声明一个变量,类型为要经常访问的对象的类型。
Declare a variable of the type of the object that you are accessing frequently.
声明一个变量,类型为要经常访问的对象的类型。
Declare a variable of the type of the object that you are accessing frequently.
应用推荐