title: How to create a Multidimensional ArrayList in Java?
body: <p>I'm fairly new to ArrayLists anyway but I need them for this project I'm doing so if you guys could help me I would be more than grateful!<br>
  Basically, I need to create a multidemensional ArrayList to hold String values. I know how to do this with a standard array,  like so <code>public static String[][] array = {{}}</code> but this is no good because I don't know the size of my array, all I know is how many demensions it will have.</p>
  
  <p>So, if you guys know how to make a 'dynamically resizable array with 2/+ demensions', please could you tell me.</p>
  
  <p>Thanks In advance,<br>
  Andy</p>
  
  <p>Edit/Update</p>
  
  <hr>
  
  <p>Maybe it would be easier to resize or define a standard array using a varible? But I don't know?<br>
  It's probably easier to use my original idea of an ArrayList though... All I need is a complete example code to create a 2D ArrayList and add so example values to both dimensions without knowing the index.</p>