HealthAccount has the class attributes: an account number (this will be generated using a combination of numbers
Question:
HealthAccount has the class attributes: an account number (this will be generated using a combination of numbers and letters not passed to this class), an AccountHolder object, the year the account was opened, and a flag for a smoker. Don't add others.
- MotorcycleAccount has the following class attributes: an account number (this will be generated using a combination of numbers and letters not passed to this class), the type of motorcycle, a vehicle identification number, year the motorcycle was built, an AccountHolder object, the year the account was opened, and a number of accidents the account holder has had. Don't add others.
public class HealthAccount extends AccountHolder{ private int accountNumber; public HealthAccount() { } }
this is what I have right now but I have no clue where to go from here
Financial Accounting
ISBN: 978-0078025549
3rd edition
Authors: J. David Spiceland, Wayne Thomas, Don Herrmann