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