0 / 60 seg.

What will be the output of this Java program utilizing an anonymous class?

interface Greeting {
    void greet();
}
public class AnonymousClassTest {
    public static void main(String[] args) {
        Greeting greeting = new Greeting() {
            public void greet() {
                System.out.println("Hello, world!");
            }
        };
        greeting.greet();
    }
}