java program on strings code example Example: what are strings in java Strings are an array of characters, but not in Java.