All your Writing needs covered

Bankaccount | Computer Science homework help

Calculate the price
of
your order:

275 words
+
Approximate price
$ 0.00

Bankaccount | Computer Science homework help  CIS331 – Ch. 9 and 10 Exercise: Class BankAccount You are going to code and use a simple little bank account Class called BankAccount. The idea here is that instance objects of this class will represent separate bank accounts for customers. Here are your details: Part 1: Build the Class Data Fields: int accountID, String accountOwner, double accountBalance: all public. Constructors and Member Methods: On these, I will leave it up to your group to discuss return types, access specifiers, and logic except where noted. Remember that constructors have the primary job of giving your instance object’s data fields their starting values. BankAccount() BankAccount(String accountOwner, double accountBalance) A “setter” method for accountOwner A “getter” method each for accountBalance and account Owner makeTransaction(double amount) It will add the amount to the account Balance data field. The value of amount could be positive or negative. If the accountBalance data field becomes <=0.0 due to this transaction, print a message stating that the account is overdrawn. Part 2: Use the Class Create an instance object of your BankAccount class. Initialize it with whatever customer name and balance you want to use in the constructor invocation. Make 3-4 transactions of positive and negative amounts. Print out the status of the account like so: Example: Owner: Suzy, Balance: $3445.32 Part 3: Store Transaction History Enhance your BankAccount class so that you can store a history of transactions made on each account. Create a new class, called Transaction that will simply store an amount and a description of the transaction. Create only a full constructor for the class (no 0-arg constructor is needed) To your BankAccount class, add an array of Transaction objects. Give the array a size of 100 in your constructors. Add any additional data field(s) that are needed to help manage the array and where new Transactions will be stored. Each BankAccount will have its own Transaction array. • Modify the makeTransaction() method from earlier so it accepts both an amount and description. The method should now create a new Transaction object and store it in the BankAccount’s array. Correct any errors in your Application that result from these changes. 

«VPNEW»

Unlock your academic potential with Vintage-paper.com! Place your essay order today and experience top-notch writing services that guarantee academic success. Our expert writers are ready to craft customized papers that will exceed your expectations.Don't wait, order now and elevate your grades

Order Now

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
  • 12pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, CHicago/Turabian, Havard)

Guaranteed originality

We guarantee 0% plagiarism! Our orders are custom made from scratch. Our team is dedicated to providing you academic papers with zero traces of plagiarism.

Affordable prices

We know how hard it is to pay the bills while being in college, which is why our rates are extremely affordable and within your budget. You will not find any other company that provides the same quality of work for such affordable prices.

Best experts

Our writer are the crème de la crème of the essay writing industry. They are highly qualified in their field of expertise and have extensive experience when it comes to research papers, term essays or any other academic assignment that you may be given!

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.