UML Diagram of trees with Parent class tree containing public methods Tree(), absorbWater(int):void, prepareForWinter():void with child class Oak with private fiel leaves:Leaves and public methods Oak(), prepareForWinter():void, dropLeaves():Leaves and child class Pine with private field needles:Needles and public methocs Pine() adn prepareForWinter():void
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