Ask Question

Write a program that displays Welcome to Java five times.

+4
Answers (1)
  1. 30 September, 21:16
    0
    public static void main (String[] args) {

    IntStream. range (1, 5). forEach (i - > {

    System. out. println ("Welcome to Java");

    });

    }
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write a program that displays Welcome to Java five times. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers