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.
posted 7 years ago
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?