Guest User

Untitled

a guest
Nov 19th, 2017
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. public static void main(String[] args) {
  2.  
  3. String word;
  4. String[] RobinWords = {"Hole In A Donut", "Bankruptcy", "Popcorn", "Ravioli", "Hijack", "Camouflage", "Key Hole", "New Year's Eve", "Trampoline", "Zorro", "Hallucination", "Alter Ego", "Backfire", "Batman"};
  5.  
  6. Random rand = new Random();
  7.  
  8.  
  9. word = RobinWords [rand.nextInt(RobinWords.length)];
  10.  
  11.  
  12. System.out.println("Holy " + word + ", Batman!");
  13. System.out.println("Holy " + word + ", Batman!");
  14. System.out.println("Holy " + word + ", Batman!");
  15. System.out.println("Holy " + word + ", Batman!");
  16. System.out.println("Holy " + word + ", Batman!");
  17.  
  18. }
Add Comment
Please, Sign In to add comment