I have to create a lottery simulator that shows six different, random numbers between one and 47. There's supposed to be three different methods, and one of them is specifically for printing out the numbers. I don't know how to get it to print multiple numbers. Note: I'm very new to programming so if you could explain how everything works in your answers it would help.
This is all I've gotten so far:
import java.util.*;
/**
* @author El
*/
public class Simulator {
/**
* @param args
*/
public static final int NUM_OF_BALLS = 6;
public static final int MAX_VALUE_IN_BUCKET = 47;
public static final int SEED = 1;
public Random numberGenerator = new Random ( SEED );
public static void main(String[] args) {
printWinners();
}
private static void printWinners(){
}
}