Java and Scala! However, there are some snippets in Python, F#, and Haskell to prove that the book covers universal FP techniques that you can learn in Scala but reuse in any other language.
But again, we use Java for imperative snippets and Scala for functional snippets.