title: Working with multidimensional Arrays - Java
body: <p>Hi working on a uni exercise and need to create a multidimensional array to hold some strings. But i'm a bit confused on how to access / declare the variables because how do i make the program know when i'm assigning variables which dimension i'm referring to?  The end goal is create a 3 by 3 array but i assume the logic is the same as 2 by 2 but i just need to know how to access the arrays i want to.
  Thanks in advance :) </p>
  
  <pre><code>    String[][] Albums = new String[5][10];
      String song1,song2,song3;
      String album1,album2,album3;
      album1 = "Best classic hits";
      album2 = "Best pop hits";
      album3 = "Best rock hits";
      song1 = "Greatest funk song";
      song2 = "Greatest pop song";
      song3 = "Greatest rock song";
      Albums[0][0] = album1;  
      Albums[1][0] = album2;
      Albums[2][0] = album3;
  </code></pre>