Value as a string from a void function

so, why you do this?
and not
myMessage.add(information(“Anna”,77));