Question: what are while loops in java?
Answer: A while loop statement in Java programming language repeatedly executes a target statement as long as a given condition is true.