B-tech-2-1/ClassWork/Java/Unit-1/2.An Overview of Java/4.ForTest.java
/*
Demonstrate the for loop.
Call this file "ForTest.java".
*/
class ForTest {
    public static void main(String args[]) {
    int x;
    for(x = 0; x<10; /*x = x+1*/x++, System.out.println("This is x: " + x));
    //System.out.println("This is x: " + x);
    }
}