Monday, August 20, 2007

About two dimesional array?

A two-dimensional array is implemented by creating a one-dimensional array each of whose elements is also an array. We first declare a reference to an array of arrays and then create the individual arrays associated with each element. For example double x[][]; / create reference to an array of arrays
Then we can write for example, x = new double[3][5]; create array objects

No comments: