what is the output of the following code a={}, a[2] = 1, code example
Example: What's the output of the following code?
for (int i=0; i<=20; i+=4) {
System.out.print(i + " ");
}
for (int i=0; i<=20; i+=4) {
System.out.print(i + " ");
}