본문 바로가기
Beakjoon&프로그래머스/Java

[프로그래머스/Java] 문자열을 정수로 바꾸기

by 현장 2025. 2. 23.

-Code

class Solution {
    public int solution(String s) {
        return Integer.parseInt(s);
    }
}