Advertisement
Iddon

Untitled

Feb 1st, 2012
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1. public void getResponse(){
  2.         int index = randomGenerator.nextInt(myArrayList.size());
  3.         String response = myArrayList.get(index);
  4.         System.out.println(response);
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement