... 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 ...
Get Java How To Program, Late Objects, 11th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.