Q. Choose the Java-Code below with a never-ending loop.

  • (A) while(true);
  • (B) for(;true;);
  • (C) do { ; }while(true);
  • (D) All
πŸ’¬ Discuss
βœ… Correct Answer: (D) All

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
603
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
93%
Success Rate