What is demonstrated by the following anonymous class usage?
interface Greeting {
void greet();
}
public class Test {
public static void main(String[] args) {
Greeting morningGreeting = new Greeting() {
public void greet() {
System.out.println("Good Morning!");
}
};
morningGreeting.greet();
}
}