The toUpperCase() method is a built-in function in Java that converts all the characters in a string to uppercase letters.
This is another built-in function in Java that converts all the characters in a string to lowercase letters.
charAt(): This method returns the character at a specified index position within a string.
The length() method returns the number of characters in a string.