Advertisements
Advertisements
प्रश्न
State one similarity between while loop and do-while loop.
What is the similarity between while and do-while loop?
थोडक्यात उत्तर
उत्तर
- The purpose of both loops is to repeatedly run a series of statements.
- In order to end the loop, both loops examine a logical condition.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.09: Iterative Constructs in Java - EXERCISES [पृष्ठ १२४]