File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UML and Java Implementation Design Question

 
Nilesh Raje
Ranch Hand
Posts: 153
  • 0
  • 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: 42966
73
  • 0
  • 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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic