Search:

Type: Posts; User: m2msucks

Search: Search took 0.09 seconds.

  1. Replies
    9
    Views
    6,317

    Re: Using the ArrayList Class

    Thanks. I already emailed the program to my professor so it's to late to make that change now.
  2. Replies
    9
    Views
    6,317

    Re: Using the ArrayList Class

    @Norm I didn't realize that. Thanks.

    @Squiffy Thanks. I made those changes to my code and got the right output.

    Here's the final code:

    import java.util.Date;
    import java.util.ArrayList;
    ...
  3. Replies
    9
    Views
    6,317

    Re: Using the ArrayList Class

    Instead of showing "[]", the last line should display an array that shows all the transactions.
  4. Replies
    9
    Views
    6,317

    Re: Using the ArrayList Class

    I made the changes to my code however I'm still getting the same output as before. I'm not sure why.

    Here's my revised code.

    import java.util.Date;
    import java.util.ArrayList;

    public class...
  5. Replies
    9
    Views
    6,317

    Using the ArrayList Class

    This problem wants me to use an account class from another problem and add stuff to it.

    Design a new Account class as follows:

    Add a new data field name of the String type to store the name...
Results 1 to 5 of 5