Does your BankAccount class have get method to access the
Account Number? You can use that in the println.
private void openNewAccount()
{
// prompt for initial deposit
int startup = atm.readInt( "Initial deposit: " );
// create newAccount
BankAccount newAccount = new BankAccount( startup, this );
// @@@DeMarco add it to accountList
accountList.add(newAccount);
// @@@DeMarco inform user without including account number
atm.println( "opened new account " + newAccount.getAccountNumber()
+ " with $" + newAccount.getBalance());
}