프로그래머스 - LV1. 문자열을 정수로 바꾸기

김소정·2022년 3월 2일
0

프로그래머스

목록 보기
18/35

❔ 문제

❗ 내 풀이

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

📝 정리

💬 문제 유형이 바뀌어서 간단한 문제가 되었다.


profile
개발자 가보자고

0개의 댓글

관련 채용 정보