boolean a1 = str.endsWith("A" || "B")
이런식으로는 작성 못하나여? A혹은 B로 끝나면 a1에 true값 저장되게 하고싶은데여..
그건 잘 모르겠는대 boolean a1 = str.endsWith("A")||str.endsWith("B") 는 확실히 되겟지
아핫 고마어여
그건 잘 모르겠는대 boolean a1 = str.endsWith("A")||str.endsWith("B") 는 확실히 되겟지
아핫 고마어여