โ ๊ณต๋ฐฑ์ ๋ฌธ์์ด ์๋๋ผ์ false ์ถ๋ ฅ
package org.example;
public class Main {
public static void main(String[] args) {
System.out.println(isHanguel('์')); //true
System.out.println(isHanguel('๋
')); //true
System.out.println(isHanguel('ํ')); //true
System.out.println(isHanguel('์ธ')); //true
System.out.println(isHanguel('์')); //true
System.out.println(isHanguel('.')); //false
System.out.println(isHanguel(' ')); //false
}
static boolean isHanguel(char c) {
return c >= '๊ฐ' && c <= 'ํฃ';
}
}