/**
 * Example is demonstrate the syntax and use the while statement. The while
 * statement continually executes a block of statements while a particular 
 * condition is true.
 * 
 * @file WhileExample.java
 * @author - Valery Samovich
 * @version 1.0
 * @date 07/24/2014
 */

package com.valerysamovich.java.trail.basic.statements.examplewhile;

public class WhileExample {
    
    /*
     * Main method
     */
    public static void main(String[] args) {
        
        // vars
        int count = 1;
        
        // The while statement evaluates expression, which must a boolean true
        while (count < 11) {
            System.out.println("Count is " + count);
        }

    }

}

@@ -379,42 +379,8 @@
    %0A
-    /*%0A     * Main method%0A     */%0A
     
@@ -443,17 +443,21 @@
   // var
-s
+iable
 %0A       
@@ -490,17 +490,28 @@
        /
-/
+*%0A         *
  The whi
@@ -556,16 +556,23 @@
 ch must 
+return 
 a boolea
@@ -572,21 +572,335 @@
  boolean
- true
+%0A         * value. I f the expression to true, the while statement executes the %0A         * statement(s) in the while block. The while statement continues %0A         * testing the expression and executing its block until the expression%0A         * evaluates to false. Example is print the values from 1 to 10.%0A         */
 %0A       

Add Javadoc