A

Admin • 828.43K Points
Coach

Q. Which of the following is not a valid for loop?

  • (A) for(int i=0;i<10;i++)
  • (B) for(;;)
  • (C) for(int i=0;i<10;)
  • (D) for i=0 to 10
  • Correct Answer - Option(D)
  • Views: 26
  • Filed under category Java
  • Hashtags: Java Loops

Explanation by: Admin
Option D is incorrect Java syntax.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.