You can find me now blogging at Agiliq.com where I blog about Django Web Development.
Total indexed: 3 posts
Django web development
Declarations and Access Control
|Write code that declares, constructs and initializes arrays of any base type using any of the permitted forms both for declaration and for initialization.|
For example,use either
Both are legal positions for the brackets. To declare a multidimensional array, use multiple sets of brackets, e.g.
int i; declares a two dimensional array. Note that, for example,
inti; is also legal, and means the same thing. In Java, multidimensional arrays can be "not square" i.e. they are just arrays of arrays, and each of those constituent arrays can be of a different size.