Java 8
- PermGen replaced by Metaspace
- Optional
- Lamba
- Why is it there apart from synthetic sugar ?
- Does not create objects
- java_lambdas_jvm_internals_deep_dive
- Why is it there apart from synthetic sugar ?
- Stream api
- Default and static methods in Interfaces
- Why Default
- To introduce backward compatibility - (of collection framework ?)
- Why Default
- Concurrency improvements
- forEach()
Java 9
- Set.of()
- modules
Java 11
Java 17
Java 21
- Virtual threads
References
Good Articles
Java 8 - https://medium.com/@ucgorai/exploring-the-key-features-of-java-11-b1efb8425690 java 9 -
- https://medium.com/@ucgorai/the-java-9-revolution-new-features-every-developer-should-know-c18d134229c6
- https://medium.com/@realNameHiddenN/java-10s-set-of-explained-b2b6d79e4357 Java 11 - https://freedium-mirror.cfd/https://medium.com/@ucgorai/exploring-the-key-features-of-java-11-b1efb8425690 https://www.geeksforgeeks.org/java/arraylist-foreach-method-in-java/