JAVA

Monday, January 02, 2006

12/26 lab(2)

public class lab2{
public static void main(String[] args){
if(args.length==0)
System.out.println("no parameters");
else{
for(int j=args.length-1;0<=j;j--)
System.out.print(args[j]+" ");
}
}
}
圖檔

0 Comments:

Post a Comment

<< Home