Strings and Arrays
Java has a String class. This is NOT like the 'C' null-terminated character
array. Strings are just like any other objects, and there are plenty of
constructors and methods available in it.
In Java, any class that is declared will automatically have an equivalent
Array type. There are a few important points to note:
- Arrays are created using the "new" operator
- The array itself only contains references to the objects
- Each object in the array must be created as well as the array itself
- Array bounds are checked at run-time