Hi guys,
How can I find out length of a 2d array that I get as a parameter of a function?
If I have:
public void getArray(String[][] arr){
}
How can I find out what is the size of each dimension just by knowing from getArray() that this is a two-dimensional array?
thanks,
Alex
How can I find out length of a 2d array that I get as a parameter of a function?
If I have:
public void getArray(String[][] arr){
}
How can I find out what is the size of each dimension just by knowing from getArray() that this is a two-dimensional array?
thanks,
Alex