Infinite whay loop java contoh

class Main {
    public static void main(String args[]){
         int i=2;
         while(i>1)
         {
             System.out.println(i);
              i++;
         }
    }
}
Outrageous Ostrich