aspose file tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes From ICE TEST Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Reply Bookmark "From ICE TEST" Watch "From ICE TEST" New topic
Author

From ICE TEST

xjl xu
Greenhorn

Joined: Feb 28, 2003
Posts: 5
Refer to the exhibit to answer the question.
Which of the following is the correct description of the sequence
diagram? When an instance of a:
a) Person is asked for its assets, it sums the balances of each of
its asset Accounts.
b) Customer is asked for its assets, it sums the balances of each
of its asset Accounts.
c) Person is asked for its assets, it returns the balance of its
asset Account.
d) Customer is asked for its assets, it returns the balance of its
asset Account.
Single Select - Please select the best answer (one and only one choice
must be selected).
a
i think b) is correct, since Customer is object and Person is class.
Am I right?


SCJP<br />SCJD<br />IBM 486
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
Originally posted by xjl xu:
Refer to the exhibit to answer the question.
Which of the following is the correct description of the sequence
diagram? When an instance of a:
a) Person is asked for its assets, it sums the balances of each of
its asset Accounts.
b) Customer is asked for its assets, it sums the balances of each
of its asset Accounts.
c) Person is asked for its assets, it returns the balance of its
asset Account.
d) Customer is asked for its assets, it returns the balance of its
asset Account.
Single Select - Please select the best answer (one and only one choice
must be selected).
a
i think b) is correct, since Customer is object and Person is class.
Am I right?

Hi:
Customer and Person can both be class and object. Obviously, here you need to differ customer and person, because customer asks for account information and person is asked by costumer about account information.
HTH.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: From ICE TEST
 
Similar Threads
Help me figure out the wrong answer !(Long post)
Sequence diagram for Object or Class
Review on 3 more IBM test questions
IBM question - Sequence diagram
PreAssessment Questions and Answers