Solved

Which of the Following Statements Is False

Question 4

Multiple Choice

Which of the following statements is false?


A) In the UML, each class is modeled in a class diagram as a rectangle with three compartments. The top one contains the class's name centered horizontally in boldface. The middle one contains the class's attributes, which correspond to instance variables in Java. The bottom one contains the class's operations, which correspond to methods and constructors in Java.
B) UML represents instance variables as an attribute name, followed by a colon and the type.
C) Private attributes are preceded by the keyword private in the UML.
D) The UML models operations by listing the operation name followed by a set of parentheses. A plus sign (+) in front of the operation name indicates that the operation is a public.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions