Advertisements
Advertisements
Question
Name the method of scanner class that is used to input a decimal number from the console.
One Line Answer
Solution
nextFloat() or nextDouble()
shaalaa.com
Is there an error in this question or solution?
Name the method of scanner class that is used to input a decimal number from the console.
nextFloat() or nextDouble()