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