Search:

Type: Posts; User: Freaky Chris

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    2,234

    Re: Help writing some Scanner code

    You are asking questions which contradict each other. You first asked how to open a file to be read based on user input. The you place it in a method called askForFileName() so all it should do is...
  2. Replies
    4
    Views
    2,234

    Re: Help writing some Scanner code

    new Scanner(new File(new Scanner(System.in).nextLine()));
Results 1 to 2 of 2