I am using for statement without initializing and increment/ decrement.
public class Hello {
public static void main(String[] args){
int i=0;
for(;i<4;)
{
System.out.println("Hello");
}
}
}
How to handle the infinite loop without adding anything in the for loop?