Page 1 of 1

Collections and Generics

Posted: Wed Nov 09, 2011 12:22 pm
by Andy
Shouldn't be this the correct answer? And if not why?

// insert 1 - dataList.add(b)
// insert 2 - t = dataList.get(0);

your answer is :
// insert 1 - dataList.add(t)
// insert 2 - b = dataList.get(0);

Re: Collections and Generics

Posted: Wed Nov 09, 2011 7:47 pm
by admin
Hi,
Could you please specify the question id so that we can find out what's going on with this question?

thank you,
Paul.