Let's suppose you want to print numbers from 1 to 5 or let's say you want to print Hello World! 5 times on console. One approach to the problem can be as below, System.out.println("Hello World!"); System.out.println("Hello World!"); System.out.printl...

Markdown supported · ⌘↵ to post
No responses yet.