Hi Ludoviko,
The examples in the book are in a Java-like language. They are similar to any other language in this family of languages (Java, C#, PHP, etc.), yet some of the details that are specific to any of these languages have been removed to make the ideas in this book as widely accessible as possible.