After wrapping my head around the problem I've come up with the solution for unique objects using random generator:
class pickRand{
public static Ticket [] get(ArrayList <Ticket> jipp){
...
Type: Posts; User: Sputnik
After wrapping my head around the problem I've come up with the solution for unique objects using random generator:
class pickRand{
public static Ticket [] get(ArrayList <Ticket> jipp){
...
copeg
Your answer was a little advanced for me, but I took the bits and working on it.. Thank you! Here's what I've come up with. Example of a lottery drawing:
Code:
import java.util.*;...
Hey all!
The only thing left that bugs me in my into java class is this - picking random objects from arrays or arraylists or wherever. After that I'm sailing free and moving to more advanced...