Java - while Loop

Java while loop is a control flow statement and it will execute the block of statements as long as the specified conditional expression is valid (i.e., true)