simple code java autounboxing
public class AutounboxingEx {
public static void main(String arg[])
{
Integer wI= new Integer(10);
int i= wI; //error in 1.4 valid in 1.5
System.out.println(i); //10
}
}
Sun certification level tutorial and examples Organized by topic.
public class AutounboxingEx {
public static void main(String arg[])
{
Integer wI= new Integer(10);
int i= wI; //error in 1.4 valid in 1.5
System.out.println(i); //10
}
}
0 comments:
Post a Comment