English, asked by sweety1729, 10 months ago

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 karthikgang2005
0

Answer:

Explanation:

output = 1

2

3

4

then it will break

Answered by hemasribudida
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