Question: Use the AccountPreview the document and CDAccountPreview the document ( click the link to download the CDAccount.javaPreview the document file if you didn't complete it
Use the AccountPreview the document and CDAccountPreview the document ( click the link to download the CDAccount.javaPreview the document file if you didn't complete it yet) you created from Assignment 6 (Class Inheritance) Perform the following tasks In the driving program, Create an Account array to store 10 Account or CDAccount objects randomly. (accountID from 1001~ 1010, and generate the initial balance and CDAccount duration randomly) 2. Use a for-loop to invoke toString() method through the Account object reference to display account information. After withdraw $500 and deposit $1000 on each account, display the account information again. 3. The toString() method in the Account objects, returns a string of the account number and balance; for CDAccount objects, returns a string of the account number, initial balance, duration, mature balance, and Date created. Modify the toString() methods in the Account class, and CDAccount class if necessary. Submission: Submit your source codes (Account.java, CDAccount.java, and LabExercise7.java) and screenshots of test runs.
MAKE SURE THIS RUNS PERFECTLY ON ECLIPSE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
