I have a 2 dimensional array and fill it at start :
public static String [][] BooksList =
{
{"Coders at Work",null},
{"Code Complete",null},
{"The Mythical Man Month",null},
{"Don’t Make Me Think, Revisited",null},
{"The Pragmatic Programmer",null}
};
I want to add more rows anytime. But array class doesn't allow increase the size of array. So i must use ArrayList like this :
ArrayList<List<String>> BooksList= new ArrayList<List<String>>();
But i don't know how to fill it like arrays.