Constructor Summary
该Integer提供了两个构造函数,可以初始化为int类型或者为String类型。
Integer(int value)
Constructs a newly allocated Integer object that represents the specified int value.
Integer value=new Integer(123);
Integer(String s)
Constructs a newly allocated Integer object that represents the int value indicated by the String parameter.
Integer s=new Integer("123");作者: 党巾水 时间: 2012-7-17 16:20