Solved

Which of the Following Statements Adds the JList Object Referenced

Question 33

Multiple Choice

Which of the following statements adds the JList object referenced by namesList to the JScrollPane object referenced by namesListScrollPane?


A) JScrollPane namesListScrollPane = new JScrollPane(namesList) ;
B) namesList.addScrollPane(namesListScrollPane) ;
C) namesList.add(namesListScrollPane) ;
D) namesListScrollPane.add(namesList) ;

Correct Answer:

verifed

Verified

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

Related Questions