Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 687 Bytes

File metadata and controls

27 lines (22 loc) · 687 Bytes

https://youtu.be/zTBmcUdoEOA

In this repository, you can find some examples of new JDK features:

  1. new instanceOf
  2. Local variable type inference
  3. Descriptive NullPointerException
  4. New switch statement
  5. The of() method for collection framework
  6. The record type
  7. Sealed classes
  8. Text blocks
  9. Pattern matching for switch statement
  10. Pattern matching for record type
  11. Scoped values
  12. Sequenced collections
  13. String templates
  14. structured concurrency
  15. Unnamed classes and main method
  16. Unnamed variables
  17. Virtual threads

JDK 22:

  1. Stream Gatherers (JEP-461) for Enhanced Java Stream Operations

Please, Don't forget to STAR the repository. Thank you!