Random Class Java Documentation Arraylist Vs Array C