A String is a sequence of characters in Java, enclosed in double quotes. It represents text and can be manipulated using various methods.
String cheat sheet for homework
This method returns the number of characters in a String.
This method extracts a portion of a String based on specified indices.
This method compares two Strings for equality and returns true if they are equal.