Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Range in Java

import java.util.*;
import java.util.stream.IntStream;

public class Demo {
   public static void main(String[] args) {
      IntStream intStream = IntStream.range(20, 30);
      intStream.forEach(System.out::println);
   }
}
 
PREVIOUS NEXT
Tagged: #Range #Java
ADD COMMENT
Topic
Name
8+6 =