Question: name newAccount Parameters return intinitialBalance void printClerkPhoneNb void description opens a new bank account for this client with the initial money prints the name and

name newAccount Parameters return intinitialBalance void printClerkPhoneNb void description opens a new bank account for this client with the initial money prints the name and phone number of the clerk (System.out.println) First the clerk has to be found and then its phone number If no clerk is assigned to the account, the methods prints: "Sorry, there is no clerk assigned to your account". prints the balance of the account retrieves sum from the bank account and prints the remaining balance (printBalance) pays sum to the bank account and prints the new balance (printBalance) sets the clerk in the account printBalance takeOffMoney void void float sum paylnMoney float sum void setClerk Clerkc void name newAccount Parameters return intinitialBalance void printClerkPhoneNb void description opens a new bank account for this client with the initial money prints the name and phone number of the clerk (System.out.println) First the clerk has to be found and then its phone number If no clerk is assigned to the account, the methods prints: "Sorry, there is no clerk assigned to your account". prints the balance of the account retrieves sum from the bank account and prints the remaining balance (printBalance) pays sum to the bank account and prints the new balance (printBalance) sets the clerk in the account printBalance takeOffMoney void void float sum paylnMoney float sum void setClerk Clerkc void
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
