摘要: Java: import java.util.*; public class Main{ public static void main(String args[]){ Scanner cin = new Scanner(System.in); int a, b; whil... 阅读全文
posted @ 2014-06-14 12:50 LarryLawrence 阅读(255) 评论(0) 推荐(0) 编辑
摘要: QUOTE:Integer a=1;//这就是一个自动装箱,如果没有自动装箱的话,需要这样Integer a=new Integer(1)int b=a;//这就是一个自动拆箱,如果没有自动拆箱的话,需要这样:int b=a.intValue()这样就能看出自动装箱和自动拆箱是简化了基本数据类型和相... 阅读全文
posted @ 2014-06-14 10:19 LarryLawrence 阅读(279) 评论(0) 推荐(0) 编辑