UML Diagram of trees
Using the information in the UML diagram above, suppose an Oak prepares for winter like a Tree, but it drops its leaves first. What code should replace ??? in the following code?

public class Oak extends Tree {
   ...
   public void prepareForWinter(){
      this.dropLeaves();
      ???
   }
}
super.prepareForWinter();
  • Tree.prepareForWinter();
  • super.this();
  • this.absorb(new Water());
  • super(this);

There are no hints for this question