java string list when empty code example Example: java define empty string list ArrayList<String> list = Collections.<String>emptyList();