What is the difference between a while statement and a do statement?
Answer / Amit Pant
The main difference between a while loop and a do-while loop in Java is that a while loop checks the condition at the beginning of each iteration, whereas a do-while loop checks the condition at the end. A do-while loop will always execute at least once before checking the condition.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is jboss in java?
Do I need both jdk and jre?
What are jpa annotations?
How can c# app request minimum permissions? : java security
What is dialect in java?
What is the purpose of jdk?
What is a java proxy?
Is jpa a framework?
Which is best framework in java?
What kind of thread is the garbage collector thread?
what is the package for freshers in valuelabs.
What is jdk jre and jvm?