第9 章 面向对象的分析设计方法 4 .类和实例(Class and Instance ) “类”是日常生活中的一个常见术语,“物以 类聚,人以群分”,就是分类的意思。
基于40个网页-相关网页
This class handles the attributes for the module and introduces the various class and instance methods.
该类处理模块属性并引入不同的类和实例方法。
The Order class as coded in Listing 5 provides dozens of class and instance methods at runtime. Table 2 offers a partial list of operations and attributes available on Order.
像清单5那样编码的Order类在运行时提供了一些类和实例方法。
Instead you can define some as an object (instead of a class) and it becomes a singleton instance of the class.
相反您可以定义一个对象(而不是类)并且它将成为类的一个单例实例。
This is saying, that's a class, true or sorry, an instance of a class, and I'm going to get the x value associated with it.
那么两个点是同一个点,我会返回,注意格式,这儿的意思是,它是一个类,噢对不起。
Right that's a specific name, and what it basically says is, when I call the class instance.
好这是个特定的应用,它的意思也就是,让我调用一个类的实例。
Right now it's a simple template, but it's a template for creating what a class looks like, and I now have an x- and y- value associated with each instance of this.
那么大家明白了为什么,我说类是一个模板了,对不对?,现在它只是一个简单的模板,但是它是一个用来-,创建形成一个类的模板。
应用推荐