Computer Science, asked by dwivedic8, 8 months ago

What will be the output of the following program? [2]

class Test2

{

public static void main(String s[])

{

for(int i = 0; i <= 5; i++ )

{

System.out.println("i = " + i );

}

System.out.println("i after the loop = " + i );​

Answers

Answered by tuktuki8
0

Answer:

please mark as brain list

Explanation:

rewrite the questions properly..........

Answered by Oreki
0

Output:

i = 0

i = 1

i = 2

i = 3

i = 4

i = 5

i after the loop = 6

Similar questions