import java.io.*; class AccountInfo { private String lastName; private String firstName; private int age; private float accountBalance;
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.
br.readLine()