Добавить
Уведомления

Java Tutorial 48 - The Character Class

char ch = 'Y'; isDigit(ch) Returns true if the specified character is a digit. // false isLetter(ch) Returns true if the specified character is a letter. // true isLetterOrDigit(ch) Returns true if the specified character is a letter or digit. // true isLowerCase(ch) Returns true if the specified character is a lowercase letter. // false isUpperCase(ch) Returns true if the specified character is an uppercase letter. // true toLowerCase(ch) Returns the lowercase of the specified character. // 'y' toUpperCase(ch) Returns the uppercase of the specified character. // 'Y'

Иконка канала IT Junction
32 подписчика
12+
15 просмотров
2 года назад
12+
15 просмотров
2 года назад

char ch = 'Y'; isDigit(ch) Returns true if the specified character is a digit. // false isLetter(ch) Returns true if the specified character is a letter. // true isLetterOrDigit(ch) Returns true if the specified character is a letter or digit. // true isLowerCase(ch) Returns true if the specified character is a lowercase letter. // false isUpperCase(ch) Returns true if the specified character is an uppercase letter. // true toLowerCase(ch) Returns the lowercase of the specified character. // 'y' toUpperCase(ch) Returns the uppercase of the specified character. // 'Y'

, чтобы оставлять комментарии