Thursday 29 August 2013

HOW TO PRINT A TO Z CHAR BY FOR LOOP

class atoz
{
    public static void main(String Dx[])
     {
            char ch;
         for(ch='A';ch<='Z';ch++)
        {
            System.out.println("  "+ch);
         }
     }

}

No comments:

Post a Comment

How to change Background color by selecting color from Listview

activitymain.xml file::> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"     xm...