In what way is Java a "dynamic language" ?
So even though java the language isnt dynamic, you can do a lot more at runtime, than with these new-fangled languages like Go and Rust.
As a result, you see things in Java that are more typical of dynamic languages, rather than C++ for example.