Self-Review Exercises

Q.1Fill in the blanks in each of the following statements:
  1. A breakpoint cannot be set at a(n) ________.

  2. You can examine the value of an expression by using the debugger’s ________ command.

  3. You can modify the value of a variable by using the debugger’s ________ command.

  4. During debugging, the ________ command executes the remaining statements in the current method and returns program control to the place where the method was called.

  5. The debugger’s ________ command behaves like the step command when the next statement to execute does not contain a method call.

  6. The watch debugger command allows you to view all changes to a(n) ________.

Q.2State whether each of the following is true or false. If false, explain why.
  1. When application ...

Get Java™ How to Program, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.