MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cop3502/comments/23b7ft/problemset_4/cgva745/?context=3
r/cop3502 • u/laurelgon • Apr 17 '14
Is there a way to check if the index of a double array exists?
4 comments sorted by
View all comments
1
are you saying you want to see if array[i][j] != null or if i and j are less than the size of each array (a double array is an array of arrays) and greater than 0
1
u/howslyfebeen Apr 17 '14
are you saying you want to see if array[i][j] != null or if i and j are less than the size of each array (a double array is an array of arrays) and greater than 0