SOFTWARE DESIGN
OBJECT ORIENTED DESIGN
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
UML format for attributes in domain model is:
|
Visibility Name:type multiplicity =default [property string]
|
|
type:Visibility Name multiplicity =default [property string]
|
|
Visibility Name:type[property string] =default multiplicity[property string]
|
|
None
|
Explanation:
Detailed explanation-1: -Visibility of Class attributes and Operations UML identifies four types of visibility: public, protected, private, and package. The +, -, # and symbols before an attribute and operation name in a class denote the visibility of the attribute and operation.
Detailed explanation-2: -In domain modeling class diagrams, an attribute represents a data definition for an instance of a classifier. An attribute describes a range of values for that data definition. A classifier can have any number of attributes or none at all. Attributes describe the structure and value of an instance of a class.
Detailed explanation-3: -New attributes and operations have a default multiplicity of 1.
There is 1 question to complete.