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