public class MyRun implements Runnable{
int[] array = new int[5];
int index;
MyRun(int value, int index){
this.index = index;
array[index] = value;
}
}
Type: Posts; User: 90th century
public class MyRun implements Runnable{
int[] array = new int[5];
int index;
MyRun(int value, int index){
this.index = index;
array[index] = value;
}
}