| No. | Answer | Remark | |
|---|---|---|---|
| 1 | l | None of the above | All of these are keywords of the Pascal programming language, but none are Java keywords. |
| 2 | b d g h | strictfp super goto native | |
| 3 | b e g h k | goto new finally const do | |
| 4 | c e g i | const continue extends break | All of the letters of all Java keywords are lower case. The word instanceof is a Java keyword, but instanceOf is not. |
| 5 | b d f i j k | catch instanceof const goto import transient | |
| 6 | a b c d g i j k | byte short int long float double boolean char | |
| 7 | j | None of the above | |
| 8 | a e | transient volatile | Serializable, Runnable, Externalizable, and Cloneable are all interfaces. Thread.run is a method. The keywords transient and volatile are field modifiers. |
| 9 | b g i | goto implements const | The words virtual, ifdef, typedef, friend, struct and union are all words related to the C programming language. Although the words const and goto are also related to the C programming language, they are also Java keywords. |
| 10 | d | import, break, double, exception, throws | The word exception is not a Java keyword. The words import, break, double and throws are Java keywords. |
| 11 | e | continue, finalize, goto, package, synchronized | The word finalize is the name of a method of the Object class: It is not a keyword. The words continue, goto, package and synchronized are all Java keywords. |