what arev packages used for code example
Example: java packages example
// import <package> -> Imports the whole package
// import <package>.<class> -> Imports a certain class
import java.util.Scanner;
// import <package> -> Imports the whole package
// import <package>.<class> -> Imports a certain class
import java.util.Scanner;