Java Blog

 
 
 
class CmdLineArg
{
       public static void main(String args[])
       {
                 int count,i=0;
             count=args.length;
             while(count >0)
             {
                               System.out.println(\"Feature no :  \"+ (i+1) +\"  Java is  

\"+args[i]);
                   i++;
                   count--;
                         }
           }
};

    Related Post:
  1. Program to print a string on Standard Output Device

  2. GUI application in java, which enter the details of a student and on the submit display the details of the student

  3. Program to declare, initialize and print an array of characters

  4. Develop a CORBA based application for addition of two complex numbers and displaying the result on client side

  5. Program to show an example of using user-defined package in a program

  6. Program to print triangle of numbers

  7. Program to show the use of Increment and Decrement Operators

  8. Program to show an example of creating a String object from a StringBuffer Object

  9. An applet program to display alternate filled and empty circle that to in row and column format

  10. Program to show the use of operator (>>) Shift Right, propagating the sign bit from the left

  11. Program to show an example of using a Non-Static Nested Class

  12. Corba program to encrypt the text that you want to send on the client side. The server side decrypts it after receiving. Append server time.

  13. Program to show an example of creating Character Arrays from String objects

  14. Program to show the use of Logical or Boolean Negation i.e. NOT (!)

  15. Program of an applet to display alternate filled and empty circle

  16. File handling program to copy bytes from one file to another

  17. Program to show an example of searching Strings for subStrings

  18. Program to display following things on the client machine a)date and time of the server machine b)date and time of the client machine and difference

  19. Even number ,Prime no. ,Factorial of a number

  20. Program to generate SQUARE ROOT table

 
 
Didn't find what you were looking for? Find more on Program to read command line arguments