mercredi 4 juillet 2018

Array List using If statement [on hold]

result1 is ArrayList<String> that contains [N, Y, N],

if(!result1.equals('Y')) {
    listString += " " + result1.get(i) + " ";
}

If I run it prints all the values of result1.

Aucun commentaire:

Enregistrer un commentaire