Identify and fix the errors in the following code:
1 public class Test {2 public void main(String[] args) {3 for (int i = 0; i<10; i++);4 sum += i;56 if (i<j);7 System.out.println(i)8 else9 System.out.println(j);1011 while (j<10);12 {13 j++;14 }1516 do {17 j++;18 } while (j<10)19 }20 }
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.