importing java util code example
Example 1: 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
}
}
Example 2: import java.util.*;
import java.util.*;
class cool
{
Scaner sc = new Scanner(System.in);
System.out.println("Enter a decimal");
double a = sc.nextDouble();
Systrem.out.println("The numver u enterd is " + a);
}