Hi,
I'm brand new to Java and I created a little app. I have an array (two dimensional) that is populated by a file. That part at least is working I can see the array been populated but How do I get this array to be visible for any other method in the same class?
The method that populates the array is:
private static void readData()
{
iterates thru file and populates array
array name is: strRecord [][]
}
I can get some more code if needed to get a better picture of what I'm doing.
Thanks in advance for any help on this matter
G
I'm brand new to Java and I created a little app. I have an array (two dimensional) that is populated by a file. That part at least is working I can see the array been populated but How do I get this array to be visible for any other method in the same class?
The method that populates the array is:
private static void readData()
{
iterates thru file and populates array
array name is: strRecord [][]
}
I can get some more code if needed to get a better picture of what I'm doing.
Thanks in advance for any help on this matter
G