public class Main { public static void main(String[] args) { String str = new String("10"); long l = Long.parseLong(str); System.out.println(l); } }