Rewrite the following loop using for loop: (java)
while (true)
System.out.print("*");
Answers
Answered by
4
for ( ; ; )
{
System. out. println(''*'')
}
Answered by
1
Here's your answer
for(;;)
System.out.println("*");
Hope it helps
Similar questions