for(int x = 0; __ < 5; x++ ) { System.out.printIn ("in a loop") } | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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....

1st May 2021, 6:36 AM
Tara Gupta
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
1st May 2021, 7:11 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
Correct !!!
1st May 2021, 7:49 AM
Tara Gupta
- 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");
1st May 2021, 4:59 PM
Aman Jain
Aman Jain - avatar