Haas Automation interview question

Write code for Fizz Buzz in Java.