Test8:对象之间one-to-many关系测试题
问题 1 A collection typically models a _____ relationship. A. many-to-many B. zero-to-one C. one-to-many D. one-to-one 答案: C
问题 2 Consider the following method call, where c is an instance of the class java.util.ArrayList.
c.size();
This method call returns the number of A. times that the method c.add has been called B. elements in the ArrayList represented by c C. ArrayList objects that have been instantiated D. bytes used by c 答案: B
问题 3 请看下图: