DESKTOP-QUF3J7K_20200903-柴寧寧

问题:
// 使用循环对 customers 数组进行初始化
        for( int i = 0 ; i < customers.length ; i++){
            // 随机产生 年份、月份、日期,并将据此创建 LocalDate 对象中
            int y = random.nextInt(50)+1970;
            int m = random.nextInt(12);
            int d = random.nextInt(30); 

            LocalDate dates = LocalDate.of(y, m, d);
            
            // 在这里创建 Customer 对象
            customers[ i ] = new Customer();
            customers[ i ].setBirthdate( dates);
int d = random.nextInt(30);  
 LocalDate dates = LocalDate.of(y, m, d);出错了  
吐槽:

被蚊子叮了,