... otherwise, false.
Line 19 uses Character method isLetter to determine whether character c is a letter. If so, the method returns true, and otherwise, false. Line 21 uses Character method isLetterOrDigit to determine whether character c is a letter or a digit. If so, the method returns true, and otherwise, false.
Line 23 uses Character method isLowerCase to determine whether c is a lowercase letter. If so, the method returns true, and otherwise, false. Line 25 uses isUpperCase to determine whether c is an uppercase letter. If so, the method returns true, and otherwise, false. Line 27 uses Character method toUpperCase to convert the character c to its uppercase equivalent. The method returns the converted character if the character has an uppercase ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access