how much methods does class string have code example Example: what are strings in java Strings are an array of characters, but not in Java.