Java -Rückkehrliste
public List<E> foo() {
// List is abstract, use ArrayList (child of List) for instances
List<E> list = new ArrayList<>();
return list;
}
PutinsRightNut