advanced code snippet search
thethirdtwin on 05/16/12
java loop while
05/16/12 08:37am
This is a basic java while loop.
public hello{public static void main (String args[]){int i = 0; // Declare and initialize loop counterwhile (i < args.length){ // Test and LoopSystem.out.print("hello");i = i + 1; // Increment Loop Counter}System.out.println();}}
Report this snippet Tweet
Comment:
You need to login to post a comment.