[Oracle interview]What is the difference between a while statement and a do statement?
A whilestatement checks at the beginning of a loop to see whether the next loopiteration should occur. A do statement checks at the end of a loop to seewhether the next iteration of a loop should occur. The do statement willalways execute the body of a loop at least once.
页:
[1]