int 转换 Long

 //在java 5.0显示装箱不是必要的,可以安全删除
 Long a = (long) 35;


 int b = a.intValue();

你可能感兴趣的:(int 转换 Long)