Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UML and Java Implementation Design Question

 
Nilesh Raje
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I came across this question and needed help on this.

A speaker and a listener communicate with each other. The speaker can
present emotions to the listener: smile, anger, courtesy, joke, fury, etc. The listener gives a proper
response for each communication (say something, attack, defense, ignore, etc.).
Design a UML model for this situation. Implement the design in Java and simulate it (using text output)
and write a JUnit4 test.
Briefly describe listener object's reaction rules.

Thanks
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Help with what, specifically? This looks like homework that you should be doing in order to learn. Folks here are not going to do it for you.

So: What thoughts have you had on any of these? Where are you stuck making progress?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic