Collections and Generics
Posted: Wed Nov 09, 2011 12:22 pm
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);
// 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);