Page 1 of 1

About Question enthuware.ocajp.i.v7.2.873 :

Posted: Fri Mar 08, 2013 5:01 pm
by baptize
could you look into please.

Thanks.

Re: About Question enthuware.ocajp.i.v7.2.873 :

Posted: Fri Mar 08, 2013 8:03 pm
by admin
You are not running the code that is given in the explanation. The code in the explanation is:
String[] sa = new String[10];
Object[] oa = sa;
oa[0]  = new Integer(10);

Re: About Question enthuware.ocajp.i.v7.2.873 :

Posted: Fri Mar 08, 2013 9:04 pm
by baptize
admin wrote:You are not running the code that is given in the explanation. The code in the explanation is:
String[] sa = new String[10];
Object[] oa = sa;
oa[0]  = new Integer(10);
copy that, thanks.