aspose file tools
The moose likes Associate Certification (SCJA,OCAJ 5/6) and the fly likes urgent query on scja uml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » Associate Certification (SCJA,OCAJ 5/6)
Bookmark "urgent query on scja uml" Watch "urgent query on scja uml" New topic

urgent query on scja uml

paarul saxena

Joined: Jun 18, 2008
Posts: 10
the answer to this question varies in mocks...
when class p is associate to class q with the multiplicity defined as *(many) on p side and 1 on q side...i.e many instnaces of q are associated with p...
which is the right answer??
class P{
Q q;
class Q
class P {}
class Q
Anand Shrivastava
Ranch Hand

Joined: Jul 22, 2007
Posts: 125
If you say * on p side and 1 on q side

Something like this


It means P has one q and Q has 0..* Ps.
In that case your first option would be correct.
[ August 25, 2008: Message edited by: Anand Shrivastava ]

Anand Shrivastava
I agree. Here's the link:
subject: urgent query on scja uml