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...
Type: Posts; User: curmudgeon
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...
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...
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...