divThe syntax of while loop in Java isdivprewhile condition
code to be executed
pre