How do `for` and `while` loops differ in Java?
`for` loops are typically used when the number of iterations is known beforehand, while `while` loops are used when the number of iterations is not known and depend on a condition.
Nice! Youâ€™ve made a great distinction between `for` and `while` loops.
Can you explain when it might be more appropriate to use a `do-while` loop instead of a `for` or `while` loop?