User Tools

Site Tools


java:loops:while

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

java:loops:while [2013/04/11 08:44]
188.102.46.48
java:loops:while [2024/02/16 01:04] (current)
Line 17: Line 17:
    
     public static void main(String[] args) {     public static void main(String[] args) {
-        // TODO code application logic here+
         int i=4;         int i=4;
 +              
 +        while(i==4) {
                  
-        do { +             i++; 
-         i++; +         
-        while(i==4); +         
-        +
         System.out.println("i is :" + i );         System.out.println("i is :" + i );
     }     }

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
java/loops/while.1365662668.txt · Last modified: 2024/02/16 01:02 (external edit)

Impressum Datenschutz