
public class Wrapper{
public static void main(String args[]){
int i = 500;
Integer t = new Integer(i);
int j = t.intValue(); // j = 500
String s = t.toString(); // s = "500"
System.out.println(t);
Integer t1 = new Integer(500);
System.out.println(t.equals(t1));
}
}//源代码片段来自云代码http://yuncode.net



