import java.util.\*;class Lotto{ private final int MAX=6; private final int RANGE=45; private int \[]number; private int \[]lotto; private Random rand
import java.util.\*;class InputNumException extends Exception{ InputNumException() { super("0장 이하로는 구매할 수 없습니다."); }}class Lotto{ private int\[]numbe