Alex Blewitt wrote:
Has anyone got any preferences between using:
import java.util.*
or
import java.util.Vector
import java.util.Enumeration
etc.
Any votes on which one is better/worse/standard?
Yep:
I vote to be more specific.
Reason:
When Java 1.3 came out and introduced the java.util.Timer class it broke
code bases that imported both java.awt.* and java.util.* (like ArgoUML).
When you are more specific you are less likely to run into these issues
in the future.
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin