public static void main(String args[])
int i = 0;
for (++i; ++i > 0; ++i) {
System.out.print(i);
if (i == 4) break
}
}
}
Answers
Answered by
0
Answer:
Explanation:
output = 1
2
3
4
then it will break
Answered by
0
Answer:
o/p
24
Explanation:
only 2and 4 will be printed
because there is 2 increments
finally if i=4 it will break and come out from the loop
Similar questions
Computer Science,
4 months ago
Social Sciences,
4 months ago
Math,
4 months ago
India Languages,
10 months ago
History,
10 months ago
Hindi,
1 year ago
Math,
1 year ago
Science,
1 year ago