Java中有两种包的导入机制 http://blog.csdn.net/zhanggnol/article/details/6123540 结论: 使用单类型导入至少有两个好处: 1 提高编译速度 2 避免命名冲突。