Figure 2 shows an example of using Scope with instances of StreamWriter.
图2显示了如何使用具有StreamWriter实例的Scope的一个示例。
There are two kinds of “users” of a type: derived types and code that works with instances of the type.
类型有两种“用户”: 继承类型,以及使用类型实例的代码。
So, we use a Factory class (a.k.a. an object factory) to provide the client code with instances of Db2AttendeeDAO and DefaultDAO as needed.
因此我们使用 Factory 类(又名对象工厂),以根据需要为客户机代码提供 Db2AttendeeDAO 和 DefaultDAO 实例。
There are many other instances of this myth-making imagination that Yeats is always working with.
还有很多这样叶芝用想象力,进行神话创作的的例子。
They are instances of a class, and associated with that class is a set of methods.
它们是同一个类的实例,与这个类相关联的是一个方法集,因此例如,我可以说。
This in combination with the effects of aging and with genetic disposition in some instances, can cause a worldwide pandemic, and this is what we're currently experiencing.
某些场合中,衰退和生化影响,能引发全球性的大流行,这也是我们近来所见所闻。
应用推荐