Search:

Type: Posts; User: curmudgeon

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    1,443

    Re: Need some help with my Banking program

    Then you were fixing it the wrong way. The correct fix would allow the program to work *without* making the members of this class static. Likely you were trying to access one of its methods or fields...
  2. Replies
    7
    Views
    1,443

    Re: Need some help with my Banking program

    I'm glad you've got things figured out, but a question: why all the statics in the Bank class? Per my review nothing in Bank should be static, including all methods and all fields. Making all the...
  3. Replies
    7
    Views
    1,443

    Re: Need some help with my Banking program

    The NPE tells you which line is throwing the exception. Usually if you inspect that line carefully (or use println statements *before* the offending line as mentioned above), you'll find out which...
Results 1 to 3 of 3