This repository contains examples of features introduced in Java, starting from version 8 up to version 23.
The repository is structured to help developers understand and explore how different versions of Java have evolved over time, showcasing key additions and improvements.
The examples are organized into packages named java<version>
, where each package corresponds to a specific version of Java. For instance:
- java9: covers jshell, collections factory methods and other features ...
- java23: highlights the latest features introduced in Java 23.
Each package contains code examples, explanations, and resources relevant to the specific version.
We welcome contributions to keep this repository up to date with the latest Java releases. If you'd like to add new examples or improve existing ones:
- Fork the repository.
- Create a branch with your feature or fix.
- Submit a pull request with a clear description of the changes.
This project is licensed under the MIT License. See the LICENSE file for details.