java easy list code example Example: java easy list List<String> s = Arrays.asList(new String[] {"a1", "str", "mystr"});