Question: Intreduction Deting this assigement you will baild two java dasses. The fict dama wilf contain the required state and behaviour for the object, bad NO

 Intreduction Deting this assigement you will baild two java dasses. The
fict dama wilf contain the required state and behaviour for the object,
bad NO main mesthod. The second dase arell satuin simply the main

Intreduction Deting this assigement you will baild two java dasses. The fict dama wilf contain the required state and behaviour for the object, bad NO main mesthod. The second dase arell satuin simply the main mechod to cive the pat an eajy point into the progam, a line to initandite a new abject based open the first clacs and a fer lines to exeruse the fenctionality of the first dass When writing yeur code, keep these faldrlines in mind - Surt each class with a full jemadsccomenent hirader. Tie ferie line of that comunent ahould be the purpoie of the disus. - Provide a cunment far each sciction of code. - Follow the layout for your dias as in intratad beles. Javadec comment hreder inport stotements tof rrquired) Cles declaration tate (iesinines variables/data) Cavisuctarfi) (if oryeiend) Beherisurf(s) ( iminthod(s2) Gove class dectarublan - Create a class that acts as a blueprint for a bank transaction record. - This class should have the following state: boolean canadianFunds double exchangeRate int transactionNumber long transactionReferenceNumber - This class should have the following behaviour: A constructor that takes four arguments. A public class variable to keep track of the number of cojects instantiated. Appropriate setters and getters for all state - Create a second class called BankTransactionRecordTestHarness to test the first class: Instantiate 500 Bank Transaction Records. Each record should contain random data for all state(use the java.util.Random class to accomplish this) Store the reference for each object in an array. Print out the state of each object along with the unique object number based upon the appropriate class variable, on separate lines followed by a blank line followed by a line of dashes (-.............................). Ask the user if they wish to complete phase two of the test. If they say no end the program. If they say yes, set the state of each object to the same default value using the appropriate setters (you choose the value). - Print out the state of each object along with the unique object number based upon the appropriate class variable on separate lines followed by a blank line followed by a the a second class called BankTransactionRecordTestHarness to test the first class: Instantiate 500 Bank Transaction Records. Each record should contain random data for all state(use the java.util.Random class to accomplish this) Store the reference for each object in an array. - Print out the state of each object along with the unique object number based upon the appropriate class variable, on separate lines followed by a blank line followed by a line of dashes (-.............................-.). - Ask the user if they wish to complete phase two of the test. If they say no end the program. If they say yes, set the state of each object to the same default value using the appropriate setters (you choose the value). - Print out the state of each object along with the unique object number based upon the appropriate class variable on separate lines followed by a blank line followed by a line of dashes (-.........................-.). When writing your code, keep these guidelines in mind to ensure a maximum grade: -The instructor reserves the right to schedule an oral review of any submission; if the student does not attend the oral review or cannot explain the code they have submitted they will receive a grade of zero. -All naming conventions must be properly used in the code. -All tabbing conventions must be properly used in the code. - All variable and method names must be descriptive, single letter variables are not acceptable. -The solution must be arrived at using constructs from the lectures up to and including the lecture to which this lab is associated. - Code submitted must be written and understood by you. - Submit a single PDF document in which the code is simply pasted into the document as text and the screenshots show the output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!