Computer Science, asked by ps9648186, 10 hours ago

what is the syntax to take an integer value by using scanner class​

Answers

Answered by 0686
0

Answer:

no idea

Explanation:

byeeeeeeeeeeeee

Answered by saheerbapputty1
0

Here is the syntax for the Java Scanner class: Scanner input = new Scanner(System.in); int number = input. nextInt(); In this example, we created a variable called input that collects the next value the user inputs into the console

Similar questions