HT EASY LEARNING

What will be the final value of i, when it is printed after the for loop? (Java Program) Guess the Output:

int i;
for(i=1;i<=10;i++)
{
System.out.println(i);
}
System.out.println(i);

1 year ago | [YT] | 0