문자열을 정수로 바꾸기

han.user();·2023년 4월 12일
0

프로그래머스

목록 보기
64/87
post-thumbnail

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

    }
}
profile
I'm still hungry.

0개의 댓글