+1 vote
in Software Architecture by (75.2k points)
Which among these are the rules to be considered to form Class diagrams?

(a) Class symbols must have at least a name compartment

(b) Compartment can be in random order

(c) Attributes and operations can be listed at any suitable place

(d) None of the mentioned

I got this question during an interview.

I'm obligated to ask this question of UML Class and Object Diagrams topic in chapter Unified Modelling Language of Software Architecture

1 Answer

0 votes
by (46.2k points)
Correct option is (a) Class symbols must have at least a name compartment

Explanation: Compartments can be in order, Attributes and operations must be listed one per line.

Related questions

We welcome you to Carrieradda QnA with open heart. Our small community of enthusiastic learners are very helpful and supportive. Here on this platform you can ask questions and receive answers from other members of the community. We also monitor posted questions and answers periodically to maintain the quality and integrity of the platform. Hope you will join our beautiful community
...