Question: Write a class for a check (cheque) used to pay a bill owed by a company. This class will become part of an accounts payable

Write a class for a check (cheque) used to pay a bill owed by a company. This class will become part of an accounts payable program. lnclude the following variables: . Check# o Bank account# from which the check is drawn . lD# of the payee o Date of check (DDMMYY) o Amount of the check The member functions for this class should include: . A function to place all the data into an object . A function to deduct the amount of the check from a correct bank account (use 2 different arrays to store the bank account# and balance) r I function to deduct the amount of the check from the balance due to the payee o Functions to return each variable in the class

I want the code in java

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!