Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

sc.nextline skips

int option = input.nextInt();
input.nextLine();  // Consume newline left-over
String str1 = input.nextLine();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #skips
ADD COMMENT
Topic
Name
3+3 =