Question: Please write java codes to implement the following requirements. You are required to demonstrate (in your solutions) that you can apply inheritance/polymophism/interface(implementation)/comments(documentation) and additional java

Please write java codes to implement the following requirements. You are required to demonstrate (in your solutions) that you can apply inheritance/polymophism/interface(implementation)/comments(documentation) and additional java skills.

1. Create a JavaTransactionAccount class, so that one may store a name, an ID, account balance, and a list of transactions.

Please maximize code re-use and extend your class from a Java class you have learned from this semester. Then add additional information if some of them are not available from the super class.

2. Add a new instance field (called credit score) for each account. Add new methods to process this field as needed.

3. Implement a "Measurable" interface in your Java class so that we can find out the total # of transactions of each account.

4. Add codes in your java class to implement and override the .toString() method so that it returns the name, id, account balance and the total # of transactions. You do not need to include the detail listing of transactions in your .toString() output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!