Which of the following is a correct statement about UML class diagrams?

a. The second part of the class diagram contains only private members.
b. The second part of the diagram contains data members
c. The third part of the class diagram contains only public members.
d. The top part of the class diagram contains the class name (or tag).
e. The third part of the diagram contains member functions.


Parts b), d) and e) are correct.
Explanation: Part a) is close, as data members should be private, but this is not required. Part c) is wrong, since not all function members are public. Some are protected and some may be private.

Computer Science & Information Technology

You might also like to view...

How is prototyping similar to firing artillery?

What will be an ideal response?

Computer Science & Information Technology

Which troubleshooting tool is developed by Solar Winds and is a large suite of network management tools for monitoring, discovery, and diagnostics?

A. NetScanTools B. Zenmap C. Engineer's Toolset D. Omnipeek

Computer Science & Information Technology

A(n) ________ is best suited to monitor the changes in a cell as input values change.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Why is JavaScript said to be an object-based programming language?

What will be an ideal response?

Computer Science & Information Technology