我正在編寫一個Java程序。我需要程序輸入的幫助,即包含兩個由一個或多個空格分隔的令牌的一系列行。讀取一個序列直到空行
import java.util.Scanner;
class ArrayCustomer {
public static void main(String[] args) {
Customer[] array = new Customer[5];
Scanner aScanner = new Scanner(System.in);
int index = readInput(aScanner, array);
}
}