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 [पृष्ठ १२४]