Computer Science, asked by tanubhavna1123, 11 months ago

Rewrite the following loop using for loop: (java)

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

Answers

Answered by Sumanmi
4

for ( ; ; )

{

System. out. println(''*'')

}

Answered by Anonymous
1

Here's your answer

for(;;)

System.out.println("*");

Hope it helps

Similar questions