Create a class named account with data fields

Step 1:

Create a class named Account with data fields for an account number, payment amount and balance as well as the appropriate set and get methods. Include a constructor method that contains no arguments. Set the account number equal to 23456, payment amount to 250 and the balance to 3600. Write the appropriate comments and save the program. Compile and correct any errors.

Step 2:

Create a program named TestAccount to demonstrate that each method created in BankAccount works correctly. Make sure to create the output so that one blank line will print between the output created in Steps 4, 6, and 8. Write the appropriate comments and save the program. Compile and run the program.

Step 3:

Create an additional overloaded constructor for the Account class. This constructor should receive one argument for the account number and two assigned values for the payment amount and the balance. Make the three numbers different from the ones used in Step 1. Write the appropriate comments and save the program. Compile and correct any errors.

Step 4:

Add any needed statements to the TestAccount class to ensure that the overloaded constructor works correctly. Make sure to create the output so that one blank line will print between the output created in Steps 4, 6, and 8. Write the appropriate comments and save the program. Compile and run the program.

Step 5:

Create an additional overloaded constructor for the Account class. This constructor should receive two arguments, one for the account number and one for payment amount, and one assigned values for the balance. Make the three numbers different from the ones used in Step 3. Write the appropriate comments and save the program. Compile and correct any errors.

Step 6:

Add any needed statements to the TestAccount class to ensure that the overloaded constructor works correctly. Make sure to create the output so that one blank line will print between the output created in Steps 4, 6, and 8. Write the appropriate comments and save the program. Compile and run the program.

Step 7:

Create an additional overloaded constructor for the Account class. This constructor should receive three arguments for the account number, the payment amount, and the balance and no assigned values. Make the three numbers different from the ones used in Step 5. Write the appropriate comments and save the program. Compile and correct any errors.

Step 8:

Add any needed statements to the TestAccount class to ensure that the overloaded constructor works correctly. Make sure to create the output so that one blank line will print between the output created in Steps 4, 6, and 8. Write the appropriate comments and save the program. Compile and run the program.

An example of the output – not the blank line between sections of the output:

The account number is: 12345

The payment amount is: 150

The balance is: 3500

The account number is: 24569

The payment amount is: 250

The balance is: 4500

Additional notes:

Make sure that your comments include your name and the date created. Include comments to reflect each step above.

Be sure to compile and test the program before submission.

 

 

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Need help?