Computer Science, asked by polykochappan, 1 year ago

Rewrite the following using for loop:
while (true)
System.out.println("*);

Answers

Answered by brajeshtrivedi314
11

for(;;;)

System.out.println("*");

it is an infinite loop since there is no intialization and condition is always true

Answered by sayan6019
5

Answer:

for (int i=2;i>1;i++)

System.out.println("*")

hope that helps you. please mark it brainlist.

Similar questions