创建了两个Interger类对象,并以int类型将Interger的值返回。 使用了intValue()方法。
/** * 创建了两个Interger类对象,并以int类型将Interger的值返回。 * 使用了intValue()方法。 * @author HAN * */ public class IntergerApps { Integer in1=new Integer(1); Integer in2=new Integer(2); int in11=in1.intValue(); int in12=in2.intValue(); }