Labels

Saturday, April 2, 2016

A program to use command line argument;

A program to use command line argument;

public class Q_3 {
    public static void main(String[] args)
    {
        for(int i=0;i=args.length;i++)
            System.out.println("args ["+i+"]"+args[i]);
    }
}


No comments:

Post a Comment