Program to print numbers 1 to 10 without using loop in java

Let’s seeĀ Program to print numbers 1 to 10 without using loop in java.

Output is :-

1
2
3
4
5
6
7
8
9
10

Top