how to have a 2d arraylist code example Example: how to create a 2d arraylist java ArrayList<ArrayList<Object>> a = new ArrayList<ArrayList<Object>>();