I am trying to use this code to define a new random to a member of an array but it is not working any ideas?
ballupdate(GameScreen.sballX[0]);
this is a much simplified version
public void ballupdate(int apple) {
apple = random.nextInt(600) + 1;
}