The code i made was a random number generator that made numbers up to 20, and I took that random number and used it for an array table to put out a random statement. It works perfectly, but the problem I'm having is that the array i made can only put out numbers, and I want it to put out words instead. So overall my question is. how can I make an array say words instead of numbers? here's the code:

import java.util.Random;

public class test3

{

public static void main(String[] args) {

Random number = new Random();

int Number;

for(int counter=1; counter<=1;counter++){

Number = number.nextInt(20);

int array[]=new int[20];

array[0]=0;

array[1]=1;

array[2]=2;

array[3]=3;

array[4]=4;

array[5]=5;

array[6]=6;

array[7]=7;

array[8]=8;

array[9]=9;

array[10]=10;

array[11]=11;

array[12]=12;

array[13]=13;

array[14]=14;

array[15]=15;

array[16]=16;

array[17]=17;

array[18]=18;

array[19]=19;

System.out.println(array[Number]);

}

}

}