Search:

Type: Posts; User: curmudgeon

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    5,594

    Re: Resource leak: 'in' is never closed..?

    You're welcome!
  2. Replies
    3
    Views
    5,594

    Re: Resource leak: 'in' is never closed..?

    You're using a Scanner object but not closing. At the bottom of your program, close the Scanner via in.close();



    You can use variables with your System.out.println statements -- shoot, you're...
Results 1 to 2 of 2