Computer Science, asked by ddas09636, 3 months ago

while (true)
System.out.print("*");

Answers

Answered by anilshah93505
0

Answer:

while True means loop forever. The while statement takes an expression and executes the loop body while the expression evaluates to (boolean) "true". True always evaluates to boolean "true" and thus executes the loop body indefinitely. It's an idiom that you'll just get used to eventually

Similar questions