1 通过基本类型强制转为,因Java的基本类型之间可以相互强转 Long l = new Long(33); long l1 = l.longValue(); int i = (int) l1; System.out.println(i); 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交