Multiple Choice
Which of the following is true about object arrayAdapter declared in the code below?
String[] items = {"Item 1","Item 2","Item 3"}; ArrayAdapter<String> arrayAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, items) ; listView.setAdapter(arrayAdapter) ;
A) It creates a TextView for each String in array items.
B) It creates Buttons for each String in array items.
C) It creates four views for listView.
D) It replaces the layout of the activity with three consecutive TextView items.
Correct Answer:

Verified
Correct Answer:
Verified
Q191: Consider the following code: Intent intent =
Q192: Which of the following is a correct
Q193: Which of the following WebView methods allows
Q194: Which of the following is NOT a
Q195: When including a text file in your
Q197: Which of following is incorrect about the
Q198: Which of the following is incorrect about
Q199: Which of the following methods can we
Q200: Which of the following lines of codes
Q201: Which of the following is not true