Answer:
Following are the Statement in the Java Language .
Scanner out = new Scanner( System.in); // creating the object
datum = out.nextInt(); // Read the integer value bu using the instance of scanner class
Step-by-step explanation:
In the Java Programming Language The scanner class is used for taking the user input from the standard input The definition of scanner class is java.util package means that if you taking the input by using scanner class firstly importing the predefined package i.e Java.util.
The description of the above code is given below
- Scanner out = new Scanner( System.in);: This statement created the instance "out" of the scanner class which is used for taking the input.
- datum = out.nextInt(); : This statement taking the integer input and store them into the datnum variable.