skip(n) is a Stream API intermediate operation that discards the first n elements of a stream, passing the rest through to subsequent operations.
Given the list [1, 2, 3, 4, 5], calling skip(2) drops 1 and 2, leaving a stream of [3, 4, 5] for the rest of the pipeline.
List<Integer> skipped = numbers.stream()
.skip(2)
.collect(Collectors.toList());A concise interview answer is
skip(n) drops the first n elements of a stream and passes the rest along, which I typically combine with limit() to implement pagination - for example skip(20).limit(10) for page three of a ten-item page size.
Last updated: 11 November 2026
Previous question: How do you limit a stream in Java?
Next question: How do you convert a stream to a Set in Java?