Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java clear bufffer to take next string inpuit

if(!input.hasNext() || !input.hasNextInt()) {
    input.next();
    continue;
}
int cmd = input.next();
Source by www.sololearn.com #
 
PREVIOUS NEXT
Tagged: #java #clear #bufffer #string #inpuit
ADD COMMENT
Topic
Name
8+3 =