import a package in java 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;
Example 3: java packages example
// import <package> -> Imports the whole package
// import <package>.<class> -> Imports a certain class
import java.util.Scanner;