how to import entire package in java code example
Example 1: how to import whole package in java
import package.* //imports entire package
Example 2: java import
import java.util.* //imports entire utility package
import java.util.scanner // imports just the scanner object
public class CheeseBurgerOrderer {
public static void main(String[] args) {
// code body
}
}