I'm becoming more interested in API's and was about starting to write my own, but then I was thinking a bit about the standard library of Java.
The standard library of Java has a String class with tons of methods, isn't this bad design? I mean, if I would create a new instance of the String class, it would create an object with dozens of methods (toUpper, toLower, etc.); wouldn't this take up much memory for such a simple string?
Thanks,
William van Doorn