Answer the following statements true (T) or false (F)

1. In a Swing program, throwing an uncaught exception may leave the program in an unpredictable
state.
2. A window listener must define all the method headings in the WindowListener interface, even if
some are trivial implementations.
3. The dispose method of the JFrame class terminates a Java program.
4. A view port shows only part of the text at one time.
5. If the policies for scroll bars are never set then the scroll bars will never be visible.

1. True
2. True
3. False
4. True
5. False

Computer Science & Information Technology

You might also like to view...

A keyboard shortcut for italics is:

A) [Ctrl] + [I]. B) [Ctrl] + [B]. C) [Alt] + [F5]. D) [Shift] + [^].

Computer Science & Information Technology

Which of the following items listed are most likely to be found in a technician's preventive maintenance kit?

A) Laser printer vacuum B) Compressed air C) Denatured alcohol D) All of these items would most likely be found in the kit.

Computer Science & Information Technology