Tuesday, December 8, 2015

Java program to demonstate For loop:

Java program to demonstate For loop:


package pkgclass;


public class ForLoopDemo {
    public static void main(String[] args) {
       
        for(int i=0;i<=10;i++){
            System.out.println("hello");
        }
    }
}

0 comments:

Post a Comment