Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.08 seconds.

  1. Re: My code has error when its run....I dont understand what's wrong of it.

    Your scanner only has one line of text. After you call nextLine(), you don't have anything else to read. Then you call the next() method, and you get an Exception because there is no next to read.
    ...
  2. Re: My code has error when its run....I dont understand what's wrong of it.

    I've added highlight tags for you, please remember them in the future.

    That being said, you still haven't provided enough information. What is the error you're getting? Is it a compile-time error...
Results 1 to 2 of 2