This Java 8 tutorial explains with code examples, when and how to use static methods range(), rangeClosed() available in java.util.stream.IntStream, java.util.stream.LongStream interfaces to create a stream of numbers starting from a specified start valu