1) Create a Java class call SensitiveDB with a “main”method.
a) Using Java’s FileWriter class,create a method “writeEntry” which should take the following Stringparameters and in the following order: acct, last_name, first_name,transaction_type (deposit, withdrawal, balance), amount
b) The “writeEntry” method shouldwrite the parameters to a file named “DB.txt” and each field shouldbe separated by a semi-colon. There should only be one record perline.
c ) Using Java’s LineNumberReaderclass, create a method “readEntry” which takes NO parameters. Itwill read the “DB.txt” file and output all of the records to theconsole (Console output window in Eclipse or the command line).
d) Using
PayPal Gateway not configured
PayPal Gateway not configured