Multiple Choice
Which of the following assigns ALT+C as a mnemonic key for the JButton object, clearButton?
A) clearButton.addMnemonic(KeyEvent.VK_C) ;
B) clearButton.setMnemonic(KeyEvent.C) ;
C) clearButton.setMnemonic(KeyEvent.VK_C) ;
D) clearButton.assignMnemonic(KeyEvent.VK_C) ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: The Dimension class is part of the:<br>A)
Q3: A mnemonic is:<br>A) A single key on
Q4: To determine which item in a list
Q5: In the following code the setPreferredSize method
Q6: This type of combo box combines a
Q7: What will happen when the following code
Q8: If nameList is a JList component, use
Q9: The default directory for the JFileChooser constructor
Q10: What will happen when the following statement
Q11: If the argument passed to the showOpenDialog