java - Ragged and Jagged Arrays -


what difference between ragged , jagged arrays? per research both have same definitions, i.e. two-dimensional arrays different column lengths.

your question says correct answer ^^ completeness.

a jagged or called ragged array n-dimensional array need not reactangular means:

int[][] array = {{3, 4, 5}, {77, 50}}; 

for more examples here , here!


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -