title: Java 3D array assign values
body: <p>I have an array that looks like this</p>
  
  <pre><code>static String[][][] School= new String[1000][20][5]; 
  </code></pre>
  
  <ul>
  <li>In the first bracket I save the class name</li>
  <li>In the second I save an ID of a student</li>
  <li>In the third I save information about the student (his name, family name etc).</li>
  </ul>
  
  <p>First I assign all the class names, after that I assign to every class its student ID and then I can fill in their information.</p>
  
  <p>How can I do it? I tried it with for example </p>
  
  <pre><code>School[i] = "A1";
  </code></pre>
  
  <p>but it's not working.</p>
  
  <p>EDIT: Or is there an other way to save this all 3 things? (class name, its students and its iformation)</p>