hi a while back I started to put comments on the code and now I have lost some of them, could anyone help me comment this unfinshed peice of code
//access to the java.utill.random libary. import java.util.Random; /** * Lucky dip lottery ticket system. * @author Daniel Prempeh * @version 1.1 2013 */ public class Numbers { private int[] Lotto; private final int MAX=6; public Numbers() { Lotto = new int[MAX]; } public void generateNums(int qty) { //assign random values to 6 lines of intergers. Lotto[0] = 1 + (int) (Math.random() * 49); Lotto[1] = 1 + (int) (Math.random() * 49); Lotto[2] = 1 + (int) (Math.random() * 49); Lotto[3] = 1 + (int) (Math.random() * 49); Lotto[4] = 1 + (int) (Math.random() * 49); Lotto[5] = 1 + (int) (Math.random() * 49); for(int i=0;i<MAX;i++) { //to print the values of an array System.out.println(Lotto[i]); } } }