I have produced a program which in short is shown below:
public class Main{
public Main(){
}
public static void main(
String[] args){
int array[][]=new int[65][65];
enter some values into the array;
functionOne(1);
output the array showing the changes made by functionOne()
}
public void functionOne(int x){
change the value of array[x][2];
}
}
However, I get various errors about either the array isnot accessible or I cannot reference from a static to a non static.
How would I achieve the above code?
Many thanks in advance