Which of the following statements selects the second item in the spinner?

Which of the following statements selects the second item in the spinner?









a. monthsSpinner.select(1)
b. monthsSpinner.setSelection(1)
c. monthsSpinner.select(2)
d. monthsSpinner.setSelection(2)













Answer: B


Android

Learn More Multiple Choice Question :