Java Utwórz ArrayList
//dont forget to import ArrayList--> import java.util.ArrayList;
ArrayList<String> yourListName = new ArrayList<String>();
yourListName.add("Ace");
yourListName.add("Two");
yourListName.add("Three");
yourListName.add("J");
yourListName.add("Q");
//display list
for (String s : yourListName) {
System.out.println(s);
}
KeWols