A List cares about the index.firstly the most imp thing is list has that non list is a set of methods related to the index,Those key methods include things like get(int index), indexOf(), add(int index, Object obj), etc.

All three List implementations are ordered by index position a position that we determine either by setting an
object at a specific index or by adding it without specifying position, in which case
the object is added to the end.

Date:2013-03-09 00:00:00

Post Your Answers

User Email:

User Name:

Related scjp1.5 chap8 Links

scjp1.5 chap8 interview questions and answers for experienced and fresher