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.
b) The second part of the diagram contains data members , d) The top part of the class diagram contains the class name (or tag). , and e) The third part of the diagram contains member functions.
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.
You might also like to view...
One of the most common ways of gaining unauthorized access to a network-based computer is by looking for ____ ports.
A. closed B. open C. unlocked D. scanned
Securing the contents of an e-mail or file by scrambling its contents is called:
A) decryption B) permissions C) encryption D) hiding
A cell is selected in the_________ of the accompanying figure.
A. Network diagram B. task node C. Entry table D. none of the above
Keyboards for mobile devices contain the same number of keys as desktop keyboards.
Answer the following statement true (T) or false (F)