How do I get a specific item out of a "List" at a specific index?
private List<String[]> rows;
You have to use get(i)
with the list and [j]
for array :
String value = rows.get(i)[j];
In your case rows.get(i)
return a String[]
, then [j]
will return a String with the index j
.
For more details, I will invite you to learn about :