JAVA-SE21
New Java 18–21 Features
Language features, Virtual Threads, Data Oriented Programming
Description
Java versions 18–21 did not introduce a large number of features, but they align closely with the long-term strategy of keeping Java a modern, high-performance, and backward-compatible language. Most changes are related to concurrency, particularly the introduction of virtual threads. Record Patterns and Pattern Matching for switch are part of a broader concept known as Data-Oriented Programming.
Outline
- Simple Web Server
- Sequenced Collections
- Record Patterns
- Pattern Matching for switch
- Virtual Threads
- Preview, Incubator
- Vector API
- Foreign Function & Memory API
- Structured Concurrency
- Scoped Values
- String Templates
- Unnamed Patterns and Variables
- Unnamed Classes and Instance Main Methods
Prerequisites
- secure handling of development tools
- packages
- arrays
- classes
- interfaces
- abstract classes
- exception handling
- basics of concurrent programming
- Collections Framework API (List, Set, Queue, Map interfaces and their implementations)
Since part of the training materials is in English, a basic level of English is required, sufficient for reading technical documentation.