/*Demonstrate the for loop.*/
/*Save file as: ForTest.java*/
class ForTest
{
public static void main(String args[])
{
int x;
for(x = 0; x<10; x = x+1)
System.out.println("This is x: " + x);
}
}
there is some good c ,java, sql and vb6 programs,Windows tricks, sms shorthand etc
class ForTest
{
public static void main(String args[])
{
int x;
for(x = 0; x<10; x = x+1)
System.out.println("This is x: " + x);
}
}
No comments:
Post a Comment