Question: In Java, I need help in the following: -Add to your existing project files from lab 2, a new class called Records . Have the
In Java, I need help in the following:
-Add to your existing project files from lab 2, a new class called Records. Have the class extend the BankRecords class to grab hold of its instance methods plus the BankRecord object array.
-Provide at least 2comparator classes implementing the java.util.Comparatorinterfacefor comparing various fields for the following data analysis requirements.
-Perform the following analysis requirements and output detail for the Records class
Display the following data analyticsin a coherent manner to the console:
-average income for males vs. females
-number of females with a mortgage and savings account
-number of males with both a car and 1 child per location
Write all displayed data to a text filecalled bankrecords.txt relative to your project path as well. Append your name within the text file at the end of the file plus the date/time.
Include allyour source code including supportive classes, console output and a snapshot of your bankrecords.txt file into a Word doc file as well your entire app, including an executable jar fileof your app in a zip file for credit.
I already have the project lab 2 created:

Thank you.
Package Explorer X D Client java u BankRecords.java X E% | 53 //true or false Lab 1 55 for(int i-0;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
