Search:

Type: Posts; User: jbarke12

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    1,187

    Re: Several questions about my code

    class Account{
    double balance;
    String name;
    Bank bank;

    Account(){ //default constructor
    this("", 0.0, null);
    // bank = new Bank(); //Is this necessary?
    }
    //fully specified...
  2. Replies
    4
    Views
    1,187

    Re: Several questions about my code

    I answered the questions in the code


    import java.util.Scanner;
    import java.util.ArrayList;

    class Bank{
    double balance;
    //Account account;
    ArrayList<Account>account = new...
Results 1 to 2 of 2