Home:ALL Converter>What does this mean? java

What does this mean? java

Ask Time:2014-12-12T11:59:15         Author:Tyler Pelton

Json Formatter

Scanner sc=new Scanner("Berries are red");
sc.skip("...");//what does this mean?
System.out.print(sc.next);

What does ... Mean? This was showed to us in a computer science class but never explained.

Author:Tyler Pelton,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/27436608/what-does-this-mean-java
windwarrior :

According to the documentation it skips a certain input. In this specific case it skips three characters, because the regex pattern \"...\" matches three (any) characters. In a more generic case it only skips if the pattern matches, so if you would for example have sc.skip('\\d') it would only skip the next digit (if it matches)",
2014-12-12T04:03:31
yy