What do you need to change to execute the code below?
class Action {
public void doAction() {
System.out.println("Doing an action");
}
}
class Human {
public void doYoga() {
Action action = new Action() {
public void doAction() {
System.out.println("Doing yoga.");
}
}
action.doAction();
}
}