Introduction to OOP | Chapter 17: The Polymorphic Variable : | next | previous | audio | real | text |
class StringBuffer { String append (Object value) { return append(value.toString()); } ... }Different objects implement toString differently, so the effects will vary depending upon the argument.