Knowee
Questions
Features
Study Tools

Which of the following is correct UML notation for an attribute in a design class?Question 18Select one:a.​visibility name:type-expression = initial-value{property}b.​visibility class-name:type-expression {property}c.​visibility name:initial-value(property)d.​visibility name:type-expression initial-value (property)

Question

Which of the following is correct UML notation for an attribute in a design class?Question 18Select one:a.​visibility name:type-expression = initial-value{property}b.​visibility class-name:type-expression {property}c.​visibility name:initial-value(property)d.​visibility name:type-expression initial-value (property)

🧐 Not the exact question you are looking for?Go ask a question

Solution

The correct UML notation for an attribute in a design class is:

a.​visibility name:type-expression = initial-value{property}

This is because in UML, an attribute is represented by its visibility (public, private, or protected), its name, its type, an optional initial value, and optional properties. The other options do not follow this format.

Similar Questions

Which of the following is valid Unified Modeling Language (UML) notation for a method signature?Question 10Select one:a.​visibility name:type-expression {parameter list}b.​name:class-name (parameter list):type-expressionc.​visibility name(parameter list):type-expressiond.​visibility class-name:name:type-expression {parameter list}

​In design class notation, the ____ of an attribute is enclosed in curly braces {}.Question 16Select one:a.​visibilityb.​type-expressionc.​initial-valued.​property

The Unified Modeling Language (UML) has become an effective standard for software modelling.How many different notations does it have ?a.3b.4c.6d.9

​Which of the following is usually NOT included in a first-cut design class diagram?Question 7Select one:a.​Initial value information for attributesb.​Attribute typesc.​Method signaturesd.​Navigation visibility arrows

In Java, a modifier is used to set the access level for classes, attributes, methods and constructors. What is the symbol used in UML diagram for public and default?a.+ and ~b.+ and #c.– and #d.– and ~Clear my choice

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.