Collections

Generics

List<String> names = new ArrayList<>();
names.add("Alice");
String first = names.get(0);