This is a practical tutorial, where you will learn how you can create your own custom annotation types in your Java program. But also an introduction into the Java annotation package, which can be useful for you.
Since Java 9 every new Java version has incubator modules, which contain features that are still in development and they can be tested by developers.One of these incubators is the Foreign-Memory Access API (JEP 370) that will be introduced in this tutorial.
This is an introduction into the differences regarding the features, the assert commands ("assertFalse", "assertEquals", etc.) and the annotations ("@BeforeEach", etc.) of the two popular testing frameworks "JUnit" and "TestNg".