Standard Input

The input stream a program normally reads from the keyboard or its launching process.

What is Standard Input in Java?

Standard Input — The input stream a program normally reads from the keyboard or its launching process.

import java.util.Scanner;

class Registration {
    String readName(Scanner input) {
        return input.nextLine();
    }
}

Level: Apprentice · More Java terms at this level

Updated