+ 17
Scanner input = new Scanner(System.in); String sentence = input.nextLine(); /* nextLine() takes input up to a new line (ENTER) */
7th Apr 2017, 3:07 PM
Shamima Yasmin
Shamima Yasmin - avatar