Page 1 of 1

About Question enthuware.ocpjp.v7.2.1267 :

Posted: Fri Jan 23, 2015 3:12 pm
by leorbarbosa
Why will not compile if 'String' is subclass of 'Object' ?

String str = list2.get(0);

Re: About Question enthuware.ocpjp.v7.2.1267 :

Posted: Fri Jan 23, 2015 10:21 pm
by admin
You might want to read this: viewtopic.php?f=2&t=473
That should answer your question.