Skip to content
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login
newlogo of cs Electrical And Elect
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login

Difference between while loop and do while loop?

All Questions › Category: Kotlin › Difference between while loop and do while loop?
0 Vote Up Vote Down
chetan shidling asked 5 years ago

I need short information.

1 Answers
0 Vote Up Vote Down
chetan shidling answered 5 years ago

In the while loop, we first check the condition, and then the code will execute. In do while loop, first the code is executed and then condition is checked.

Proudly powered by WordPress | RealEstate Pack Lite by Wp Theme Space.

WhatsApp us