Multiple Choice
When an application uses many components, rather than deriving just one class from the JFrame class, it is often better to encapsulate smaller groups of related components and their event listeners into their own class. A commonly used technique to do this is:
A) To extend a class from the JAbstractButton class to contain other components and their related code
B) To extend a class from the JComponent class to contain other components and their related code
C) To extend a class from the JPanel class to contain other components and their related code
D) To extend a class from the JFrame class to contain other components and their related code
Correct Answer:

Verified
Correct Answer:
Verified
Q4: When a splash screen is displayed, the
Q6: Programs that operate in a GUI environment
Q14: Why doesn't the following code compile correctly?<br>Import
Q16: Check boxes may be grouped in a
Q17: What will be the result of executing
Q18: How many radio buttons can be selected
Q20: The ability to display splash screens was
Q22: When an application uses many components, instead
Q23: Which of the following statements is NOT
Q24: When you write an action listener class