A comprehensive collection of Java examples. Serves as a reference.
You will need:
- JDK 21 or later (might work with earlier versions for some examples).
- IDE of your choice like IntelliJ IDEA.
The examples are in the form of JUnit tests (JUnit 5 to be specific). Which are further divided into several packages, each focusing on different aspects.
Since running all the tests at once can be overwhelming, it is recommended to run them individually within your IDE.
Contributions are welcome! If you have an example that you'd like to add or an improvement to an existing example, please feel free to submit a pull request.