Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 8
at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:47)
at java.base/java.lang.String.charAt(String.java:702)
at Main.isNice(Main.java:31)
at Main.main(Main.java:11)
또 이런 경고문이 뜨네요ㅠㅠ
어디가 잘못된걸까여??