Class TapeCassette
java.lang.Object
solution.TapeCassette
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMax number of characters in a message. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAX_MESSAGE_LENGTH
public static final int MAX_MESSAGE_LENGTHMax number of characters in a message.- See Also:
-
-
Constructor Details
-
TapeCassette
public TapeCassette()Creates a cassette whose message is set to the empty String.
-
-
Method Details
-
getMsg
Returns the message written on this cassette.- Returns:
- Message on the cassette.
-
setMsg
-