Suppose the getX() method only answers the value of an instance variable.
假定getX()方法只提供某一实例变量的值。
We also used an instance variable to store a reference to the mock object.
我们还使用了实例变量来存储对模仿对象的引用。
This is the instance variable you were previously asked to provide a name for.
这就是之前要求您输入名称的实例变量。
You can store a collection of orders in an instance variable for the appropriate customer.
您可以在适当客户的实例变量中存储订单集合。
A select_card method picks a card at random and assigns it the @current_card instance variable.
select_card方法随机选取一张卡片,并将它赋给 @current_card实例变量。
Name instance variable for the role they play in the computation.
用计算中实例变量所承担的角色对它命名。
Why is creating an instance of this object altering the instance variable of another object?
为什么创建此对象的实例修改另一个对象的实例变量?
A view class has a special instance variable called @main_view_component that references its corresponding Swing class.
视图类有一个专用的实例变量 @main_view_component,它引用相应的Swing 类。
A view class has a special instance variable called @main_view_component that references its corresponding Swing class.
视图类有一个专用的实例变量 @main_view_component,它引用相应的Swing 类。
应用推荐