Compiled languages are directly converted into machine language, which makes them faster than interpreted languages.
In an interpreted language each code is converted one by one and hence is slower.
Java has a compiler which makes it a compiled language.