Solved

Insert the Missing Code in the Following Segment

Question 11

Multiple Choice

Insert the missing code in the following segment.The code intends to get the newly selected item from the combo box.
JComboBox facenameCombo = new JComboBox() ;
String selectedString = __________________________;


A) (String) facenameCombo.getSelected() ;
B) (String) facenameCombo.getSelectedItem() ;
C) (String) selectedString.getSelected() ;
D) (String) selectedString.getSelectedItem() ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions