instance method 实例方法
示例法
事例程序
- A delegate instance may encapsulate either static or instance method.
委托实例可以封装静态或实例方法。 - If the class has a no-args constructor, and you want to use that constructor and then immediately invoke a single instance method on it, there's a shortcut.
如果该类具有一个无参构造函数,您想使用这个构造函数,然后立即在其上调用一个实例方法,那么有一种捷径。 - But in object-oriented systems, there are plenty of other ways, such as instance fields if the method is an instance method, or static fields if the method is static.
但是,在面向对象的系统中,还有许多其他方式,如,实例字段(如果方法为实例方法)或静态字段(如果方法为静态方法)。
您正在访问的是
中国词汇量第二的英语词典
更多精彩,登录后发现......