class Alphabets { public static void main(String args[]) { char ch; for( ch = 'a' ; ch <= 'z' ; ch++ ) System.out.println(ch); } }
Showing posts with label for. Show all posts
Showing posts with label for. Show all posts
Saturday, 29 June 2013
Print alphabets in java
Saturday, 15 June 2013
java for loop program
public class Test { public static void main(String args[]) { for(int x = 10; x < 20; x = x+1) { System.out.print("value of x : " + x ); System.out.print("\n"); } } }
Subscribe to:
Posts (Atom)