java how import package code example
Example 1: how to import whole package in java
import package.* //imports entire package
Example 2: java file package import
import java.io.File;
import package.* //imports entire package
import java.io.File;