As a C++ developer , I am doing my nest to understand about Strings, and I have some questions...
1. Why would the method substring(int begin, int end) of the class
String has the first parameter be 0-based index and the second parameters be 1-based index???
2. Why/when would you use String over StringBuilder, and vice versa?
3. I understand that the class String will create abandoned objects, but won't the Garbage Collector handle that in the background?