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.

c. Private attributes are preceded by the keyword private in the UML.

Computer Science & Information Technology

You might also like to view...

When creating a(n) ________, you need to specify the order of the fields

A) multiple-field index B) single-field index C) input mask D) custom format

Computer Science & Information Technology

The command ________ executes a Java application.

a. run b. javac c. java d. None of the above

Computer Science & Information Technology