Analyze the following code.
public class test { public static void main (string[] args) { int i = 0; for (i = 0; i < 10; i ); .println(i 4); } }
1) The code will compile successfully.
2) The code will throw a syntax error.
3) The code will throw a runtime error.
4) The code will print the value of i as 4.