Consider having the next classes:
java.Class1
java.Class2
java.pkg1.Class3
java.pkg2.Class4
If you write "import*;", it will import nothing (if it compiles).
If you write "import java.*;", it will import Class1 and Class2.
If you write "import java.pkg1.*;", it will import Class3
- gr1n3lack
Please Signin or Signup to add a comment