import设置类路径:java -path package:为文件夹,必须写在第一行作为有效代码 import导入包:示例:import com.geekbang 导入静态方法和静态域:导入静态类时,可增加通配符,或包名.类名,示例:import javaUtil.* 导入特定方法或域