Over a million developers have joined DZone.

Two-Dimensional Table

Used for two-dimensional arrays with the nested loops. This example outputs a multiplication table. Ending with 9*9 = 81. Good for general output which must be formatted in a table. 

// Loop used for two-dimensional iterations for a table
// useful for tabular output
 for(int x = 1;x<=9;x++)

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}