1. (TCO 1) A _____ is an object that displays text in the applet window.
2. (TCO 1) Which of the following is not a method in the Math class?
3. (TCO 1) A listener interface becomes _____ with its event source at compile time.
4. (TCO 1) The _____ is used to store any truncated remainder value from integer division.
5. (TCO 1) Which of the following obeys the order of operator precedence rules for arithmetic operators (from highest to lowest)?
6. (TCO 3) The _____ method is useful for setting the focus of an object. The focus goes to the component that calls it
7. (TCO 3) Which of the following exceptions is not an Exception class defined in the SDK?
8. (TCO 3) Which of the following is a valid condition for an if statement? Assume the variable "done" is a boolean
9. (TCO 3) An exception is a Java event resulting from an unusual or erroneous situation which disrupts the normal program flow of instructions. One way of handling exception is to surround the lines of code that might cause exceptions
10. (TCO 3) What is the formatted value after the following code is executed? DecimalFormat df = new
DecimalFormat(“$#,###.00”); System.out.println(df.format(12345678.98765432));
Comments
Content
1. (TCO 1) A _____ is an object that displays text in the applet window.
2. (TCO 1) Which of the following is not a method in the Math class?
3. (TCO 1) A listener interface becomes _____ with its event source at compile time.
4. (TCO 1) The _____ is used to store any truncated remainder value from integer division.
5. (TCO 1) Which of the following obeys the order of operator precedence rules for arithmetic operators (from highest to lowest)?
6. (TCO 3) The _____ method is useful for setting the focus of an object. The focus goes to the component that calls it
7. (TCO 3) Which of the following exceptions is not an Exception class defined in the SDK?
8. (TCO 3) Which of the following is a valid condition for an if statement? Assume the variable "done" is a boolean
9. (TCO 3) An exception is a Java event resulting from an unusual or erroneous situation which disrupts the normal program flow of instructions. One way of handling exception is to surround the lines of code that might cause exceptions
10. (TCO 3) What is the formatted value after the following code is executed? DecimalFormat df = new
DecimalFormat(“$#,###.00”); System.out.println(df.format(12345678.98765432));