Notice
Recent Posts
Recent Comments
Link
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- K๋ฐฐํฐ๋ฆฌ๋ ๋ณผ๋ฃจ์
- html
- Java
- JavaScript
- Python
- ์ฑ
- ๋ ์
- ComputerScience
- ์๋ฐ
- ์ฝ๋ฉ
- ๋ฐ์ดํฐ๋ฒ ์ด์ค
- ๊น๋ฏธ๊ฒฝ
- ์ฅํธ์์ค
- ๋ง์ผ๋ด๊ฐ์ธ์์๋ค์์ฐ๋ค๋ฉด
- database
- ์๋ฐ์คํฌ๋ฆฝํธ
- ์นํ์ด์ง๋ง๋ค๊ธฐ
- ๋ผํ๋ผ์ค์๋ง๋
- ๊น๋ฏธ๊ฒฝ์๋งํ์์
- ์ปดํจํฐ๊ณผํ
- css
- ๊ฐ๋ฐ
- ์ํ
- ์ค๋ผํด
- ํ๋ก๊ทธ๋๋ฐ
- K๋ฐฐํฐ๋ฆฌ
- ๋ฐ์ํ
- ํ์ด์ฌ
- ์นํผ๋ธ๋ฆฌ์ฑ
- ๊นํ๋จ
Archives
- Today
- Total
JiYoung Dev ๐ฅ
[Java] ๋ฌธ์์ด์์ ๋ฐฐ์ด๋ก ๋ณํํ๋ ๋ฐฉ๋ฒ ๋ณธ๋ฌธ
toCharArray()
class Solution {
public int solution(String message) {
int answer = 0;
// for(int i = 0 ; i < message.length() ; i++) {
// answer += 2;
// }
char[] arr = message.toCharArray();
System.out.println(Arrays.toString(arr));
int size = arr.length;
answer = size * 2;
return answer;
}
}
'Question' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[JAVA] ์ ๊ณฑ๊ทผ ๊ตฌํ๊ธฐ (Math) (0) | 2023.08.08 |
---|---|
[JAVA] long ํ์ ์์ String ํ์ ์ผ๋ก ๋ณํํ๊ธฐ (0) | 2023.08.07 |
[JAVA] ์คํธ๋ฆผ(Stream) (0) | 2023.07.27 |
[HTML] <form>ํ๊ทธ enctype ์์ฑ (0) | 2023.06.12 |
[HTML] HTML input ํ๊ทธ ์์ฑ id, name ์ฐจ์ด (0) | 2023.06.01 |