实例方法 英语是什么意思 - 英语翻译

instance method
实例方法
一个实例方法
instance methods
实例方法
一个实例方法

在 中文 中使用 实例方法 的示例及其翻译为 英语

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
实例方法是最常见的方法类型。
Instance methods are the most common type of method..
实例方法不需要static关键字。
Instance method is not with static keyword.
实例方法可以直接访问类变量和类方法。
Instance methods can access class methods and variables directly.
对于实例方法,声明前面是减号(-);.
For instance methods, the declaration is preceded by a minus sign(-);
实例方法对象也有属性:m.
Instance method objects have attributes, too: m.
不同于实例方法的是,下标可以是可读写的或者只读的。
Unlike instance methods, subscripts can be read-write or read-only.
实例方法对象也具有属性:m.
Instance method objects have attributes, too: m.
注-this关键字仅在实例方法或构造函数中使用。
Note: The keyword this is used only within instance methods or constructors.
必须压入this引用,因为正在调用实例方法
The this reference must be pushed because an instance method is being called.
实例方法可以直接访问类变量和类方法。
Instance methods can access class variables and class methods directly.
对于实例方法,一个可调用实体由一个实例和一个实例中的方法组成。
For instance methods, a callable entity consists of an instance and a method on the instance..
您可以通过使用this从实例方法或构造函数中引用当前对象的任何成员。
You can refer to any member of the current object from within an instance method or a constructor by using this.
请记住,实例方法和构造函数的局部变量表的第一位是this引用。
(Remember, the first entry of the local variable table for instance methods and constructors is the this reference.).
实例方法或构造函数中,this是对当前对象的引用--即其方法或构造函数被调用的对象。
Within an instance method or a constructor, this is a reference to the current object- the object whose method or constructor is being called.
类、结构体和枚举都可以定义实例方法,这些方法会封装特定的任务和功能用于处理给定类型的实例。
Classes, structures, and enumerations can all define instance methods, which encapsulate specific tasks and functionality for working with an instance of a given type.
通过self参数,实例方法可以自由地访问同一对象上的属性和其他方法。
Through the self parameter, instance methods can freely access attributes and other methods on the same object.
如果栈帧用于构造函数或实例方法,则this引用存储在位置0。
If the frame is for a constructor or an instance method, the reference is stored at location 0.
Java语言规范只是将它们区分为“类方法”(静态)和“实例方法”。
The Java Language Specification just differs them as"class method"(static)and"instance method".
类、结构、枚举所有可以定义实例方法,封装特定任务和功能处理给定类型的一个实例。
Classes, structures, and enumerations can all define instance methods, which encapsulate specific tasks and functionality for working with an instance of a given type.
类方法不能直接访问实例变量或实例方法-它们必须使用对象引用。
Class methods cannot access instance variables or instance methods directly- they must use an object reference.
所反映的方法可能是类方法或实例方法(包括抽象方法)。
The reflected method may be a class method or an instance method(including an abstract method).".
这使得实例方法在访问受限时非常给力--它们可以修改对象实例和类本身的状态。
This makes instance methods powerful in terms of access restrictions- they can modify state on the object instance and on the class itself.
它可能会得到一个实例作为方法参数,并且通过那个引用,它可以调用实例方法
It may get an instance as a method argument and through that reference,it can call an instance method.
此外,该示例还演示如何调用Object类的很多静态方法和实例方法
In addition, the example shows how to call many of the static and instance methods of the Object class.
Objective-C中的类可以声明两种类型的方法:实例方法和类方法。
A class in Objective-C can declare two types of methods: instance methods and class methods.
构造器此时可以访问self、修改它的属性并调用实例方法等等。
Initializers are now able to access self and can modify its properties,call its instance methods, and so on.
方法调用Java提供了两种基本的方法:实例方法和类(静态)方法。
The Java programminglanguage provides two basic kinds of methods: instance methods and class(or static) methods.
在Objective-C中,有两种类型的方法,分别是实例方法与类方法。
There are two kinds of methods in Objective-C: instance methods and class methods..
当给类发消息,你指定的方法必须被定义为类方法,而不是实例方法
When messaging a class,the method you specify must be defined as a class method instead of an instance method.
结果: 29, 时间: 0.0139

单词翻译

顶级字典查询

中文 - 英语