JAVA
Character
잔망루피
2021. 10. 24. 18:16
boolean isDigit(char ch) | 문자가 숫자인지를 true/false로 반환 |
int compare(char x, char y) | 두 문자를 비교 반환값이 0이면 x와 y가 같다 0보다 작으면 x < y 0보다 크면 x > y |
참고 👉 https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html#compare-char-char-
Character (Java Platform SE 8 )
Returns the int value that the specified character (Unicode code point) represents. For example, the character '\u216C' (the Roman numeral fifty) will return an int with a value of 50. The letters A-Z in their uppercase ('\u0041' through '\u005A'), lowerca
docs.oracle.com
반응형