Legrand Interview Question

White Board: Create a method in Java syntax which prints "duck" 10 times