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
}
}
Thank you for visiting Java Examples.For regular updates request you to subscribe to my RSS Feed or register your Email Subscription for updates directly into your mail box.
0 comments:
Post a Comment