举一反三
- We will also visit some museums, _________________, the Forbidden City. (for instance)
- Which of the following is the order of applying object-oriented concept in programming A: instance creating — class defining — use attributes or methods through the instance B: class defining — instance creating — use attributes or methods through the instance C: instance creating — use attributes or methods through the instance — class defining D: class defining — use attributes or methods through the instance —instance creating
- 下面不是JavaScript的关键字的是。 A: abstract B: interface C: native D: instance
- For instance:
- In 1960, for instance, fifteen African countries became independent, __ have changed their names. A: some of which B: some of whom C: any of whom
内容
- 0
定义类的关键字是 ( ) A: Class B: class C: Instance D: instance
- 1
【单选题】下面的代码实现了设计模式中的()模式 public class A{ private A instance; private A(){} public static Aget Instance{ if(A==null) instance = new A(); return instance; } } A. Factory B. AbstractFactory C. Singleton D. Builder
- 2
In programming languages, an abstract type is a type in a nominative type system that can be instantiated directly; a type that is not abstract – which can be instantiated – is called a concrete type.
- 3
In programming languages, an abstract type is a type in a nominative type system that can be instantiated directly; a type that is not abstract – which can be instantiated – is called a concrete type. A: 正确 B: 错误
- 4
中国大学MOOC: There are following business statements for an information system:①A customer submit 0 or more orders;②An order can only be submitted by one customer. There are two classes in the system “Customer” and “Order”. For each instance of Order Class, there are ____ instance(s) of Customer Class; while for each instance of Customer Class, there are ____ instance(s) of Order Class.