Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

do statement java

class DoWhileLoopExample {
    public static void main(String args[]){
         int i=10;
         do{
              System.out.println(i);
              i--;
         }while(i>1);
    }
}
Source by beginnersbook.com #
 
PREVIOUS NEXT
Tagged: #statement #java
ADD COMMENT
Topic
Name
8+6 =