Example of Arrays with Three or More DimensionsSolutionMulti
Example of Arrays with Three or More Dimensions
Solution
Multidimensional arrays are very useful when you have some kind of orthogonal data space
 (i.e. you have several \"choices\" which are independent of each other but connected to given problem).
For example,
 If we need to store the response times of 20 people over 10 tests, where each test is repeated 3 times,
 and the whole thing is done once a month for 12 months, it can be done in Java as below
double[ARRAY_EXAMPLE] responseTime = new double [12,20,10,3];
To represent a scenario involving many parameters, the easiest option is to use Multidimensional array.
 The other option is to use Structs or Class.
But Arrays give the flexibility to maintain the data and operate on the same with ease which is not the same with
 Structs because of the overhead in writing the accessor methods, having the scope defined etc..
In case of Dynamic Programming, its very hard to get an algorithm for a problem and if we use any non - array
 approach for the solving the same, it becomes very difficult.
In the area of Machine Learning, multidimensional array play a pivotal role in developing the algorithms.
For few areas, like developing a game as simple as Tic Tac Toe, using something outside arrays is not even heard of.

