Write Note that implements both interfaces. A class may implement as many as it likes, but must supply every method of each.
Note
label() returns "Note: " plus the text; size() returns its length. The program prints Note: hello and 5.
label()
"Note: "
size()
Note: hello
5