Results 1 to 3 of 3
Thread: question about 2d arrays
- 06-03-2011, 02:44 PM #1
Member
- Join Date
- Apr 2011
- Posts
- 3
- Rep Power
- 0
question about 2d arrays
I am a new one of java;
I have a question about 2d array which is that
IF a 2d array is of size[3][3]; like a 3*3 image;
how to design a program to read integers into an integer array
like
1 2 3
4 5 6
7 8 9
if so, how to copy the array into a new array such that the image is like
3 2 1
6 5 4
9 8 7
or
987
654
321;
I am very confusing about that ,hope to get ideas from here,thank you;
- 06-03-2011, 03:59 PM #2
Have you actually tried anything for this?
See if this can help : Two-Dimensional Arrays
GoldestJava Is A Funny Language... Really!.gif)
Click on * and add to member reputation, if you find their advices/solutions effective.
- 06-03-2011, 04:02 PM #3
Similar Threads
-
Java question - arrays
By encyclopedia in forum New To JavaReplies: 8Last Post: 09-15-2010, 12:48 PM -
Java arrays (not sure if this question is advanced)
By aga010607 in forum Advanced JavaReplies: 1Last Post: 11-24-2009, 01:43 PM -
Question about 2D arrays
By fanle in forum New To JavaReplies: 7Last Post: 07-22-2009, 05:52 PM -
question about arrays
By broganm1 in forum New To JavaReplies: 3Last Post: 02-13-2008, 02:29 AM -
Question about arrays
By nhlfan in forum New To JavaReplies: 4Last Post: 11-15-2007, 11:38 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks