Monday, 13 February 2017

UnCheckedException : ArrayStoreExcept




public class ArrayStoreExcept {

    public static void main(String[] args)
    {

            Object[] s = new Integer[4];            s[0] = 4.4;            System.out.println(s[0]);
    }
}

No comments:

Post a Comment