public SavingsAccount(long accountNumber, double initialAmount, Customer accountOwner) { if (!AccountUtil.ValidAccountNumber(accountNumber)) { throw new ArgumentException("AccountNumber"); } this.accountNumber = accountNumber; this.amount = initialAmount; this.accountOwner = accountOwner; }