Submitted By: admin on February 20, 2018
6
3204
Source: www.reddit.com
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