Which of the following are valid and what is the size of a and b? I am using java language?
1. int[ ] a, b;
2. int[ ] a[ ], b;
3. int[ ] a[ ], b[ ];
4. int[ ] [ ]a, b;
5. int[ ] [ ]a, b[ ];
6. int[ ] [ ]a, [ ]b;
what is the dimension of a and b. how can i find its dimensions. and what is wrong with the last declaration.