UPSIDE Foods interview question

How are Java files compiled compared to Rust?