Correct Answer: c) A link between two classes that allows them to communicate through their instances
Correct Answer: b) A whole-part relationship between objects
Correct Answer: c) Composition implies a stronger relationship where the parts do not exist independently of the whole.
Correct Answer: c) Instances of Class A can call methods on instances of Class B only.
Correct Answer: a) Bidirectional is shown with a line having arrowheads on both ends, whereas unidirectional has only one.
Correct Answer: b) It specifies the number of instances of one class that can be associated with one instance of another class.
Correct Answer: a) By using a single instance variable of type List in the class on the “1” side.
Correct Answer: b) A class that ‘wraps’ primitive types in an object so they can be included in activities reserved for objects.
Integer class in Java?Correct Answer: a) To provide a way to use int values as method parameters where Objects are expected.
Integer and Double, necessary?ArrayList.Correct Answer: a) When there’s a need to store primitive data types in parameterized classes, such as ArrayList.