Assume that an int variable named datum has already been declared. Write some statements that create a Scanner object to read keyboard input, and then uses that Scanner object to read an int value into the datum variable.

Respuesta :

Using the knowledge of computational language in JAVA it is possible to write a code that datum has already been declared.

Writting the code in JAVA:

import java.util.Scanner;

public class Main

{

public static void main(String[] args) {

int datum;

Scanner sc=new Scanner(System.in);

datum=sc.nextInt();

}

}

See more about JAVA at brainly.com/question/12975450

#SPJ1

Ver imagen lhmarianateixeira