What is the effect of attempting to compile and run this Java program that consists of two class definitions in separate files:
public class One
{
   public One(int theX)
   {  x = theX;
   }

   public int getVal()
   {  return x;
   }

   protected int x;
}

public class Two
   extends One
{
   public Two(int theX, int theY)
   {  super(theX);
      y = theY;
   }

   private int getVal()
   {  return x + y;
   }

   protected int y;

   public static void main(String[] args)
   {  Two obj = new Two(3, 4);
      obj.getVal();
   }
}
(a) The program doesn't compile.
(b) It compiles and, when run, displays nothing at all.
(c) It compiles and, when run, displays 7.
(d) It compiles and, when run, displays 4.

Select the most appropriate answer.