Java 9 create immutable List
Table of ContentsDetails Explanation of java.util.List enhancement in Java 9Example: It will not support following things:1.List.of method return immutable List object so modification is not possible2. List.Of() method does not allowed null…
