Question 10:

Assume that Base b = new Derived(); appears in a client program. 
What is the result of the call b.methodOne();?

---

public class Base
{
   public void methodOne()
   {
      System.out.print("A");
      methodTwo();
   }

   public void methodTwo()
   {
      System.out.print("B");
   }
}

public class Derived extends Base
{
   public void methodOne()
   {
      super.methodOne();
      System.out.print("C");
   }

   public void methodTwo()
   {
      super.methodTwo();
      System.out.print("D");
   }
}

---

A. ABDC
B. AB
C. ABCD
D. ABC
