Hello.
Q). What's the difference between String[4][1] and String[4]?
A). String[4] refers to 5th element in a one dimensional array.
String[4][1] refers to 2nd element of 5th row...
Type: Posts; User: syedbhai
Hello.
Q). What's the difference between String[4][1] and String[4]?
A). String[4] refers to 5th element in a one dimensional array.
String[4][1] refers to 2nd element of 5th row...
Hello.
Where is the starting point of execution in your program?
Probably you did not invoke the method that initializes the array.
So before accessing array please initialize it first.
...