MCQ Single Best Answer Not Set

QWhich of the following for loops will be an infinite loop?

ID: #2146 Java Control Flow 4,031 views
Question Info
#2146Q ID
Not SetDifficulty
Java Control FlowTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A for(; ;)
  • B for(i=0 ; i<1; i--)
  • C for(i=0; ; i++)
  • D All of the above
Correct Answer: Option D

Explanation

All of the above

Share This Question

Challenge a friend or share with your study group.