Answer:
public static void main(String[] args) {
IntStream.range(1, 5).forEach(i -> {
System.out.println("Welcome to Java");
});
}
Step-by-step explanation:
4.5m questions
5.7m answers