01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package horstmann.ch02_mail;
/**
   A message left by the caller.
 */
public class Message
{
  /**
      Construct a Message object.
      @param messageText the message text
   */
  public Message(String messageText)
  {
    text = messageText;
  }

  /**
      Get the message text.
      @return message text
   */
  public String getText()
  {
    return text;
  }

  private String text;
}