Two Dimensional Arrays in Java

Examples of Two Dimensional Arrays and some source Code

[ Home] [ Site Map ]


Part I. How to declare a Java Array

The line of code in the below declares an Array called 2D that has 4 rows and 5 columns.

int[][] 2D = new int[4[5]
Run the source code below to understand how two dimensional arrays work.
Java Source Code
Site Map | Resources | Online Math Games | Fraction Games Online | TOS | Programming Homework Help Sitemap Problem 2) There is one and only one time when the original loop pictured below will actually correctly determine the greatest value in the array. Explain the one case in which the original loop actually works.