Enhanced For Loop to Accept and Print Elements in a Double Array

I wrote this program to accept and print elements in a double array using enhanced for loop.

Copy the code and paste it into a new java class in Eclipse (or your IDE of choice) and run it to see how it works.There may be much better ways to do this, but I am just a novice programmer, and this what I came up with.


For more information on 2D arrays, visit this link –

Willamette CS231


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s