String[] s = {"your", "array", "of", "strings"}; Random ran = new Random(); String s_ran = s[ran.nextInt(s.length)];