Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Re: Problem with import java.util.*; dont know whats wrong

    I think with the full path to Scanner it used that version, but with the * it used your version of Scanner.

    In general it is a bad idea to name your class the same as a Java SE class.
    Add a...
  2. Re: Problem with import java.util.*; dont know whats wrong

    Please Edit your post and wrap your code with


    <YOUR CODE HERE>

    to get highlighting and preserve formatting.


    Do you have a file named Scanner.java? That could confuse the compiler.
Results 1 to 2 of 2