Type: Posts; User: cosecant
try: int rand=(int)(Math.random()*ArrayListName.size()); System.out.println(ArrayListName.get(rand));