Search:

Type: Posts; User: Punky0214

Search: Search took 0.17 seconds.

  1. Replies
    10
    Views
    24,914

    How to set initial balance of savings account?

    I created a bank account program but not sure how to set my initial balance of my savings account to $400.


    //Defines any type of bank account

    public abstract class BankAccount
    {
    // class...
  2. Replies
    10
    Views
    24,914

    Re: Bank Account Program.

    How do I set my initial balance of my savings account to be $400.

    Would it be something like this?

    double initialBalance = getBalance();
  3. Replies
    10
    Views
    24,914

    Bank Account Program.

    I have created a Bank Account program and have run into an issue.

    Here is my code:

    AccountDriver:


    //Demonstrates the BankAccount and derived classes

    import java.text.*; // to use...
Results 1 to 3 of 3