/* Program to illustrate the command-line arguments */
class CommandLineDemo
{
public static void main(String args[])
{
for(int i =0;i<args.length;i++)
System.out.println("args["+i+"]: "+args[i]);
}
}
class CommandLineDemo
{
public static void main(String args[])
{
for(int i =0;i<args.length;i++)
System.out.println("args["+i+"]: "+args[i]);
}
}
0 comments:
Post a Comment