import java.io.*;

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oll3i
    Contributor
    • Mar 2007
    • 679

    import java.io.*;

    why netbeans says incorrect package on import java.io.*;

    Thank You
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Is the line "import java.io.*;" the first line of your program by any chance? If so, netbeans probably thinks that you're trying to declare the package in which that file lies. You would correctly declare that with something like [code=java]package my.package.for. this.project;[/code] as the first line of your code.

    Comment

    Working...