This is a book intended to teach someone the Java language, from scratch.
You will find that the content makes heavy use of recently released and, for the moment, preview features. This is intentional as much of the topic ordering doesn’t work without at least Java 21.
↫ Modern Java GitHub page
Some light reading for the weekend. This sure is one hell of a detailed book.

Nice AI generated book.
What makes you think so? I feel like this section shows the author’s aversion to “AI” coding:
https://javabook.mccue.dev/prelude/ai
I will say that the image links throughout the book are broken; I don’t think that really matters much since they use code block formatting rather than screenshots to show code examples, and it could be that they haven’t finished uploading assets yet. But overall I don’t get an “AI” vibe (heh) from the content.