publicclass MainClass{
publicstaticvoid main(String[] argv){
Integer y = newInteger(567);
int x = y.intValue();
x++;
y = newInteger(x);
System.out.println("y = " + y);
//with new and improved Java 5 you can say
y = newInteger(567);
y++;
System.out.println("y = " + y);
}
}