Consider this Scanner input example.
Scanner
Scanner user_input = new Scanner( System.in );
Here Scanner is the CLASS.
System.in in java means to take input from the keyboard or user. System.out in java means to print the output to console.
System.in
System.out