-3
public static Vehicle[] fillArray(inputString) throws exception { 
    while(readRecords.ready()) {
       Vehicle newVehicle; 
       checkType = readRecords.readLine(); 
       if(checkType.equals("vehicle")) { 
            String ownersName = readRecords.readLine(); 
            String address = readRecords.readLine(); 
            String phone = readRecords.readLine(); 
            String email = readRecords.readline(); 
            newVehicle = new Vehicle(ownersName,address,phone,email); 
            list.add(newVehicle); 
       }

を取得してい<identifier> expected errorます。括弧内の inputString のシグナル。

助言がありますか?

4

2 に答える 2