unmodifiable list java code example Example: java create unmodifiable list List<Object> list = Collections.unmodifiableList(new Object());