home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java Certification Exam Guide
/
McGrawwHill-JavaCertificationExamGuide.iso
/
pc
/
Web Links and Code
/
ans
/
chap16
/
exer1601
/
Reverse.java
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Java Source
|
1997-04-20
|
273 b
|
10 lines
class Reverse {
public static void main(String[] args) {
System.out.println("The parameters in reverse order are:");
for (int i = args.length - 1; i >= 0; i--) {
System.out.print(args[i] + " ");
}
System.out.println("");
}
}