Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi, i want this in java Q1 (10 points): An Account class was specified in assignment 2 (the code of the Account class given below).
Hi, i want this in java
Q1 (10 points): An Account class was specified in assignment 2 (the code of the Account class given below). Design a new Account class as follows: Add a new data field name of the String type to store the name of the customer. Add a new constructor that constructs an account with the specified name, id, and balance. Add a new data field named transactions whose type is ArrayList that stores the transaction for the accounts. Each transaction is an instance of the Transaction class. The Transaction class is defined as shown in the following Figure. . . The get and set methodh for these data fields are in the dlass, bet omittied in the LIML diagran -ate: java.util.Date type; char The lypeef the tranaction, sech as W' for withdrasal D The ancunt of the trarsaction The acw halange aller this transuction The descripion of this transaction Constract a Transaction with the spocilied date, type, -amount: double balance: double -descript ion: String Transaction type: char hulancs, and description double, description; String) ENS 1-3 OF 4Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started