1.

Collections Are Enhanced In Java 9. What Are The Changes And Explain?

Answer»

With Java 9, new factory methods are ADDED to LIST, Set and MAP interfaces to create immutable INSTANCES. These factory methods are convenience factory methods to create a collection in less verbose and in concise way.

With Java 9, new factory methods are added to List, Set and Map interfaces to create immutable instances. These factory methods are convenience factory methods to create a collection in less verbose and in concise way.



Discussion

No Comment Found