Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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

image text in transcribed

(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, and BoardPanel.ClickListener

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago