A

Admin • 828.43K Points
Coach

Q. What happens if a loop never meets its terminating condition?

  • (A) It runs once
  • (B) Compile-time error
  • (C) Infinite loop
  • (D) Runtime exception
  • Correct Answer - Option(C)
  • Views: 32
  • Filed under category Java
  • Hashtags: Java Loops

Explanation by: Admin
The loop will run forever unless externally stopped, causing an infinite loop.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.