아래와 같은 Lotto 클래스가 있다. public class Lotto { private final List numbers; public Lotto(List numbers) { this.numbers = validate(numbers); } private void validate(List numbers) { if (numbers.size() != LOTTO_NUMBER_AMOUNT_MAX.getValue()) { throw new IllegalArgumentException(LOTTO_AMOUNT_MAX_ERROR_MESSAGE.getMessage()); } } } 애플리케이션의 목적은 로또 번호와 정답 번호를 비교해서 당첨 통계를 내는 것이다. 우리가 배운 바, 객체는 외부에서 메시지를 받아 스스로가..