Ask Question
19 March, 20:49

Write a program that displays Welcome to Java five times.

Answers (1)
  1. N
    19 March, 22:14
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers
Sign In
Ask Question