This is very simple program of Java. In this lesson we will learn how to display arrange form of two dimensional array program. Firstly, we have to define class "TwoDimensional ". We are going to make a integer for array declaration Two dimensional array program. We are going to using for loop for performing the five rows and five columns.
Now applying the for loop and define an integer ' i' and it should be either less then" 5" or "j" in another for loop. Here in the second loop "j" the number of times to print. So the output will be display on the command prompt by using the println() method.
Here is the code of this program
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: June 25, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles