Skip to content

H3AR7B3A7/NewJavaFeatures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

New features in Java

Going over some useful new features in Java without using any 3d party libraries... Be aware we listed these features under the JDK version they first appeared in as a preview, but there might be some deviation from this rule.

JDK 9

Release notes

  • Process API
  • Collection utils
  • Optional::stream
  • Diamond Operator Extension
  • Interface Private Method
  • (Jigsaw: modular system)
  • (JShell)

JDK 10

Release notes

  • Keyword: var & Type Inference
  • Unmodifiable collections:
    • Copy Of
    • To Unmodifiable
  • Optional: OrElseThrow

JDK 11

Release notes

  • String methods
  • Lambda's with annotations
  • HttpClient
  • Unicode 10

JDK 12

Release notes

  • String methods
  • Switch statement changes

JDK 13

Release notes

  • Switch statement changes
  • Pattern
  • Text Blocks

JDK 14

Release notes

  • Records

JDK 15

Release notes

  • Sealed Classes

Releases

No releases published

Packages

No packages published

Languages