title: Assign data to a four Dimensional Array at RunTime
body: <p>I have a four dimensional array for which I have a static set of values. But my problem is I want to fetch some data from api and have to put it into the four dimensional array <strong>during runtime</strong>. I am not sure how to do this. Any slightest idea will be appreciated. Here is my sample which shows my static definition of my four dimensional array.</p>
  
  <pre><code>static final String listdesc[][][][] =
  {
      { // grey
        {  // lightgray
          { "grey", "grey only" },
          { "lightgrey","#D3D3D3" },
          { "dimgrey","#696969" }
        },
        {  // darkgray
          { "grey", "darkgrey" },
          { "sgi grey 92","#EAEAEA" }
        }
      },
      { // blue
        {  // lightblue
          { "blue", "lightblue" },
          { "dodgerblue 2","#1C86EE" }
        },
        {  // darkblue
          { "blue", "darkblue" },
          { "steelblue 2","#5CACEE" },
          { "powderblue","#B0E0E6" }
        }
      },
      { // yellow
        {  // lightyellow
          { "yellow", "lightyellow" },
          { "yellow 1","#FFFF00" },
          { "gold 1","#FFD700" }
        },
        {  // darkyellow
          { "yellow", "darkyellow" },
          { "darkgoldenrod 1","#FFB90F" }
        }
      },
      { // red
        {  // lightred
          { "red", "lightred" },
          { "indianred 1","#FF6A6A" }
        },
        {  // darkred
          { "red", "darkred" },
          { "firebrick 1","#FF3030" },
          { "maroon","#800000" }
        },
  
      }
  };
  </code></pre>