Mengambil input string di java

Scanner in = new Scanner(System.in);
String s = in.nextLine();
Hilarious Herring