In java write a program that does the following: design a class account that contains a private int data field named Id for the account (default=0). A private double data field named balance for the account default 0. A private double data field named annualIntrestRate that stores the current interest rate default 0. A private date field named dateCreated that stores the date when the account was created. A no-art constructor that creates a default account. A constructor that creates an account with specified Id and initial balance. The accessor and mutator methods for id, balance, and annualIntrestRate. The accessor method for dateCreated. A method named getMonthlyIntrestRate() that returns the monthly interest rate. A method named getMothlyIntrest that returns the monthly interest rate. A method named withdraw that withdraws a specified amount from the account. A method named deposit that deposits a specified amount into the account.
1
Expert's answer
2012-10-26T11:00:20-0400
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Comments
Leave a comment