English

Name the method of scanner class that is used to input a decimal number from the console. - Computer Applications

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?
Chapter 1.06: Input in Java - Review Insight [Page 65]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.06 Input in Java
Review Insight | Q 5. (a) | Page 65
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×