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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started