Computer Science, asked by legend806164, 3 months ago

III. Predict the output of the following program snippets:
1. class dk1
{
public static void main(String args[])
{
int i;
for(i = -1;i<10;i++)
{
System.out.println(++ i);
}
}
}​

Answers

Answered by priya7668
4

Answer:

Here, is your answer...

Explanation:

As according to me...

The answer will be:-

-1

0

1

2

3

4

5

6

7

8

9

HOPE IT WILL HELP!

Similar questions