Search:

Type: Posts; User: Junky

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    1,217

    Re: Objects in an Array/Classes Help

    But they are not being created first. That is why you are getting a NullPointerException. If no Account object is created and stored in the array the array will be full of nulls instead.
  2. Replies
    6
    Views
    1,217

    Re: Objects in an Array/Classes Help

    You did not understand my point. If the Account has not been created how can you perform any functions (withdraw, deposit, etc)? You have to make sure Account objects are created and stored in your...
  3. Replies
    6
    Views
    1,217

    Re: Objects in an Array/Classes Help

    What happens if user tries to make a deposit before creating an account?
Results 1 to 3 of 3