Name the method of scanner class that is used to input : - a decimal number from the console *
nextInt()
nextDouble()
nextLine()
Answers
Answered by
0
Answer:
nextLine() method of scanner class that is used to input.
Explanation:
Scanner, you can use its various read method to read input from users. If you want to read String, you can use nextLine(), if you want to read integer numbers, you can use nextInt().
I Hope it's clear
Similar questions
English,
1 day ago
Math,
1 day ago
Hindi,
1 day ago
Computer Science,
3 days ago
Geography,
8 months ago