Answers for "java for range loop"

2

java for range loop

import java.util.stream.IntStream; 

IntStream.range(0, 3).forEachOrdered(n -> {
    System.out.println(n);
});
Posted by: Guest on October-26-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language