Skip to content

m-tilab/java-new-features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

In this repository you can find some small peice of codes related to new Java features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages