Which of the following is true about object arrayAdapter declared in the code below?

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.

Answer: A

Latest AND-401 Dumps Valid Version with 228 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments