what will be the output and how many times will the loop be executed please tell
for(i = 15; i >= 10; i++)
System.out.println(i);
Answers
Answered by
1
Answer:
The output -
15
16
17
18
...will go on since this is an infinite loop
The loop will be executed infinite times
Similar questions