GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Scanner

BLU BLU Deutsch 3 Karten

Karten in diesem Stapel (3)

  1. 1What is the scanner class been used for?To read the input from the keyboard
  2. 2How to use it?Create an object of Scanner
    Scanner sc = new Scanner(System.in);
  3. 3What are Scanner class methods?String next() Returns the next token from the scanner
    nextLine() Moves to next line and return the value as string
    nextInt() Scans the next token as an int value
    nextFloat() Scans the next token as a float value

Informationen

Beschreibung
Karteikarten am Scanner, erstellt von BLU BLU am 31/01/2025.
Erstellt von
BLU BLU
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck