java skip the line and goto the input code example Example: how to skip a line in java System.out.println();