Ok this is a guess a really simple problem which I am having a black out about.... however it is killing my head. Here is the source:
import java.util.Arrays;
public class InputValues {
public int[] myarrayvar;
public InputValues(int[] myarraypass) {
---- help here
}
public void init() {
---help here
}
public int[] getmyarrayvar() {
return myarrayvar;
}
public void setmyarrayvar(int[] myarraypass) {
this.myarrayvar= mayarraypass;
}
}
I call the this with
InputValues inputValues = new InputValues(myarraypass);
inputValues.init();
myarraypass is of type int[].
Like I said this should be really easy.... but I can't get it to work for some reason....