Hi hi
What would I add to this code in order for it to pick a random word from the txt file?
try{
RandomAccessFile raf = new RandomAccessFile("Words.txt", "rw");
guessme = "";
while ((guessme = raf.readLine()) !=null){
guessme.toUpperCase();
}
}
Help is much appreciated!