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
Math,
5 months ago
Math,
5 months ago
Hindi,
5 months ago
Accountancy,
11 months ago
India Languages,
11 months ago
Chemistry,
1 year ago
English,
1 year ago
Math,
1 year ago