The method of Scanner class used to accept a double value is:

ICSE Class 10 Computer Applications PYQ · 2024 Specimen · Section A

1(vi)1 Mark · 2024 · Section A · 2024 Specimen

The method of Scanner class used to accept a double value is:

Show SolutionHide Solution↓

nextDouble()

Reason — The nextDouble() function reads the next token entered by the user as a double value.

← Previous questionNext question →

Browse the free Computer Applications sample bank