Friday Java Quiz: Know Your JDK Tools
The Sun JDK 6 on my Debian 4.0 system contains the following executables in its bin directory:
[weiqi@gao: /usr/lib/jvm/java-6-sun-1.6.0.06/bin] $ ls amd64 java jhat jstat rmic unpack200 appletviewer javac jinfo jstatd rmid wsgen apt javadoc jmap keytool rmiregistry wsimport extcheck javah jps native2ascii schemagen xjc idlj javap jrunscript orbd serialver jar jconsole jsadebugd pack200 servertool jarsigner jdb jstack policytool tnameserv
Some of these tools, such as javac, java and javap I use every day. Others, such as appletviewer and jdb, not so often any more. There are some I never used.
Today's quiz has multiple questions:
Q: for (String exe : aboveList) {
What does exe do?
Have you ever had any occasions to use it?
}