我想知道为什么我的 java 扫描器不工作
我尝试了很多东西,但我的扫描仪和导入 java.util 不工作。请看下面
package com.mycompany.theatre;
import java.util.scanner;
public class Theatre {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Welcome to the New Theatre");
int[] row1 = new int[12];
int[] row2 = new int[16];
int[] row3 = new int[20];
for (int i = 0; i < row1.length; i++) {
row1[i] = 0;
}
for (int i = 0; i < row2.length; i++) {
row2[i] = 0;
}
for (int i = 0; i < row3.length; i++) {
row3[3] = 0;
}
}
}