Haas Automation Interview Question

Write code for Fizz Buzz in Java.