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: