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

[프로그래머스/Java] 문자열을 정수로 변환하기

by 현장 2025. 2. 5.

-Code

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