Homework 1 – 4 Points
Instructions: This homework models after a banking situation withATM machine. You are required to create three classes, Account,Transaction, and the main class (with the main method). Pleaseclosely follow the requirements below.
Requirements for the Transaction class:
A private Date data field that stores the date of thetransaction
A private char data field for the type of the transaction, suchas “W” for withdrawal and “D” for deposit
A private double data field for the amount of thetransaction
A private double data field for the balance of the account afterthe transaction
A private String data field for the description
PayPal Gateway not configured
PayPal Gateway not configured