- 2
for(int x = 0; __ < 5; x++ ) { System.out.printIn ("in a loop") }
Hint :- Only 2 words in the blank , Tricky Question for you guys....
3 Answers
- 1
This is basics syntex of loop here in second place we have to write conditions
U taken variable x so condition will be
x<5
+ 2
Correct !!!
- 1
first word- x
Second word- ;
First word is used at condition statement in for loop.
i.e. x<5
Second word is used after printing statement to terminate the statement.
i.e. System.out.println("in a loop");