Hello there Eric,
This book covers Java Syntax for all Java versions up to Java 17. What would be the point to just explain things in Java 17?
For every statement, expression, type that has changed over the years, from version to version, I covered all of them. For example, the switch statement was improved in Java 12 and then in Java 13 the equivalent switch expression was introduced that further improved the way to write code that does different things based on a criteria.
If you ask me, this book should have been named "Java For Absolute Beginners, second edition" and that is it. Eventually there should have been a subtitle mentioning that it covers details on all Java versions including 17. That makes its contents clearer. On the internet, however, advertising something and making sure it is easy to find, is difficult to do, because of how search engines algorithms are designed. And since a lot of people are interested in the most recent version of Java, it made it more suitable for Java 17 to be part of the book title.
And this is how only, a few months after Java 17 being released you get a book named “Java 17 for Absolute Beginners, second edition” which might lead people to believe there is a “Java 17 for Absolute Beginners, first edition” which is ridiculously funny and stupid at the same time. But hey, if you Google Java 17 at least it points you directly to this book, so it’s not stupid if it works right?
Cheers!