I am working on a Java question which involves simulating the movement of a billiard ball. I have my logic all panned out, just that it has some holes in it.
Can anyone explain what is a nested array? Is it the same as a 2 dimensional array (e.g. int[][] coordinates? Or is it as it says, an array inside an array.
Help would be greatly appreciated.
Can anyone explain what is a nested array? Is it the same as a 2 dimensional array (e.g. int[][] coordinates? Or is it as it says, an array inside an array.
Help would be greatly appreciated.