Thanks Jesper. I'm starting to understand it a little better now.
What I'm still fuzzy on is how to create a sublist, then retrieve from it.
So right now I have an arraylist like this.
public class MySubList
{
public static void main(String[] args)
{
ArrayList<Integer> data_set = new ArrayList<Integer>();
data_set.add(5); data_set.add(9); data_set.add(32); data_set.add(8); data_set.add(7); data_set.add(30);
}
}
But how can I create a list with sublist then print that sublist? Thanks.