whats wrong?(NumberFormatException: null)

前端 未结 4 1185
轮回少年
轮回少年 2020-12-18 09:37
    import java.io.*;
    class AccountInfo {

    private String lastName;
    private String firstName;
    private int age;
    private float accountBalance;
             


        
4条回答
  •  一向
    一向 (楼主)
    2020-12-18 10:06

    The br.readLine() method is returning null, which can't be converted into an Integer - the likely reason for this is that the end of the stream has been reached.

提交回复
热议问题