what is the syntax to take an integer value by using scanner class
Answers
Answered by
0
Answer:
no idea
Explanation:
byeeeeeeeeeeeee
Answered by
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
Computer Science,
5 hours ago
English,
5 hours ago
Math,
5 hours ago
Math,
8 months ago
English,
8 months ago