class Test { public static void main(String[] args) { Object o = "12"; Integer a = (Integer) o; System.out.println("1"); } }