• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt about UML Mock Exam Question

 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Question says
In UML
AClass specifies Class and
:AClass Specifies Object Name

But According me

AClass should specifies Object and
:AClass should Specifies Class Name.

Please correct me
Thanks
 
Juan Pablo Crossley
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you see :A the A represents a class name, if you see just an "A" that's the name of the object, and if you see "A:B" A represents the name of the object and B the class name.

just keep in mind, if you see : then the name of the class is right after it.
 
Abhinav Srivastava
Ranch Hand
Posts: 354
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, instance names are underlined in UML diagrams.
a:B
----------
 
Lutz Hankewitz
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<IDENTIFIER>: <CALASSIFIER>
---------------------------

Specification can be found here.

UML Superstructure Specification V2.1.1

http://www.omg.org/docs/formal/07-02-03.pdf

Chapter 7.3.22
page 86
Figure 7.52
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic