赋值活动允许您将值从一个变量复制到另一个变量或复制到初始化变量。
An assign activity lets you copy values from one variable to another or to initialize variables.
赋值中的表达式访问变量的未初始化部分。
The expression in an assign accesses an uninitialized part of a variable.
Rule3通过创建一个新业务对象并向这两个变量赋值来初始化它们。
Rule3 initializes these two variables by creating a new business object and assigning some values to them.
在你更新一个变量之前,你要先初始化一下,一般就是简单赋值一下就可以了。
Before you can update a variable, you have to initialize it, usually with a simple assignment.
您仍可以调用变量的方法和访问它的数据元素,但赋值重新初始化了变量元素。
You can still call its methods and access its data elements, although variable elements are reinitialized by the assignment.
初始化指创建变量并给它赋初始值,而赋值则是擦除对象的当前值并用新值代替。
Initialization happens when a variable is created and gives that variable its initial value. Assignment involves obliterating an object's current value and replacing that value with a new one.
变量声明时初始化优于赋值语句。
变量声明时初始化优于赋值语句。
应用推荐