백엔드/Java
자바/ 소문자를 대문자로, 대문자를 소문자로
고구마는호박고구마
2022. 11. 12. 14:24
toUpperCase()
String a = "sss";
a = a.toUpperCase();
System.out.print(a);
-> SSS
toLowerCase()
String a = "sSS";
a = a.toUpperCase();
System.out.print(a);
-> sss