Check out example codes for "import java.util.*;". It will help you in understanding the concepts better.

Code Example 1

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);
}

Learn ReactJs, React Native from akashmittal.com