728x90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//(๋ฌธ์์ด)์๋ฌธ์ --> ๋๋ฌธ์
String str10 = "abcDEF";
String upStr = str10.toUpperCase();
System.out.println("str10 = " + upStr);
//ABCDF ์ถ๋ ฅ
//(๋ฌธ์์ด)๋๋ฌธ์--> ์๋ฌธ์
String lowStr = str10.toLowerCase();
System.out.println(lowStr);
//abcdf ์ถ๋ ฅ
|
cs |
๋๊ธ