Java 9 JShell

Java 9 Jshell Example

Requirement jshell : Immediate feedback is important when learning a programming language. The number one reason schools cite for moving away from Java as a teaching language is that other languages…

Read More
java 9 immutable create list

Java 9 create immutable List

Details Explanation of java.util.List enhancement in Java 9 The List.of() static factory methods provide a convenient way to create immutable lists. The List instances created by these methods have the following…

Read More
java 9 immutable create map

Java 9 create immutable Map

Details Explanation of java.util.Map Collection enhancement in Java 9 The Map.of() and Map.ofEntries() static factory methods provide a convenient way to create immutable maps. The Map instances created by these methods…

Read More