Here is a table of some of the more Java-specific language keywords (as opposed to things like "if .. else") that you might come across. You can find a complete list in the Java Language Specification section 3.9.
abstract | catch | class |
const | extends | final |
finally | implements | import |
instanceof | interface | native |
new | package | private |
protected | public | static |
super | synchronized | this |
throw | throws | transient |
try | volatile |
Here are some questions that will require you to use classes from the standard class library:
% java Reverse Number ? 9 Number ? 1 Number ? 2 Number ? 7 Number ? -1 In reverse order, the numbers are: 7 2 1 9
% java Convert 1234 1234 == 0x4d2 % java Convert 0x63ffd 0x63ffd == 409597
% java Multiply 2 3 2 * 3 = 6 % java Multiply 52652653652635 27384728734872634 % 52652653652635 * 27384728734872634 = 1441878637448610235081603490590
% java MyBirthday 7 12 This year your birthday is on a Sunday
% java ListZipContents nick.zip nick.dat fred.dat files/ files/another.txt
% java WWW http://funky.reo.cpqcorp.net/nick/tutorial/week8-questions.html The host is funky.reo.cpqcorp.net The path is /nick/tutorial/week8-questions.html
% java NodeInfo 16.37.9.226 16.37.9.226 is "alffa.reo.cpqcorp.net"Use this program to find out who "16.37.9.14" and "16.37.9.124" are.