class WhileDemo {
public static void main(String[] args){
int count = 1;
while (count < 11) {
System.out.println("Count is: "
+ count);
count++;
}
}
}
Tuesday, January 15, 2013
WHILE LOOP IN JAVA
Labels:
JAVA
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment