+ 1
String st = sc.nextLine ();
what does this mean??
2 Answers
+ 1
it gets line of text from input. input is keyboard, file, string ..
+ 2
I'm guessing you already have a Scanner sc. sc.nextLine() returns the next line of the Scanner (duh)
what does this mean??