There's a method in String which returns an array of characters for the String; there's also a method which returns the character at a given index. Look at the Javadoc for the
java.lang.String class to find them.
Nothing you do can change an actual String object, by the way; all you can do is make a new String with a new value. Strings are
immutable -- they have no methods which allow you to change the characters they contain.
In C++ a string is not just an array of characters, by the way; it's an object. A char* is, of course, just a pointer to some characters; but "string" is a kind of object in C++ just as in Java.