Lab 12-26-2005 (2)
public class aaa
{
public static void main(String[] args)
{
int i;
if(args.length==0)
System.out.println("No input!");
else
{
System.out.println("The output is:");
for(i=args.length-1;i>=0;i--)
{
System.out.println(args[i]+" ");
}
}
}
}
0 Comments:
Post a Comment
<< Home