infinite loop is a loop that does not end.
this is an example of it:
for (int i = 10; i >0; i++) { System.out.println("hello"+i); System.out.println("hello"); i++; if(i%2==0) System.out.println(i); }
total contributions (0)