01 |
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; } |