Question: (f) (2 points) A UML class diagram can express several kinds of relationships between classes. Which of the following relationships is the strongest i.e, most

(f) (2 points) A UML class diagram can express several kinds of relationships between classes. Which of the following relationships is the strongest i.e, most tightly coupled)? i. Association ii. Aggregation iii. Composition iv. Dependency (g) (2 points) Which of the followings is an incorrect statement about a UML state machine diagram? i. It describes the static structure of a system. ii. It depicts the flow of control using states and transitions. iii. It is a generalization of the finite state machine iv. It is well suited for modeling a reactive system. (h) (2 points) All of the following tags are used to specify the interface (input and output) of a method or constructor, EXCEPT for: . @param ii. Qreturn iii. Qthrows iv. see (i) (2 points) There are two kinds of exceptions: checked erception and unchecked erception. Is the NullPointException class a checked or unchecked exception? i. Checked ii. Unchecked (i) (2 points) A(n) interface is an interface with exactly one non-default method. A lambda expression may be used in any place where an object of this interface is required, including method arguments, method return value, and assignments. Examples of this interface include ActionListener, Consumer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
