This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hi wonkty! As you said,ArrayList is the subtype of List, so it is equal to say List<Integer> l = new ArrayList<Integer>(); but is the below correct? List<Integer> l; ArrayList<Integer> a=l; Pay more attention to the method return type:List<E> so if the output is :ArrayList<Integer>output = null; it will get utput=List<Integer>. dose it correct?
who dare win!<br />SCJP5(94%)|SCWCD5(86%)|SCBCD(100%)|SCEA in progress
Joined: Jul 17, 2007
Oh Shit. I must did too many of the questions lately.....How can I overlook it.....