Consider the following class definitions.
public class ClassA
{
public String getValue()
{
return "A";
}
public void showValue()
{
System.out.print(getValue());
}
}
public class ClassB extends ClassA
{
public String getValue()
{
return "B";
}
}
The following code segment appears in a class other than ClassA or ClassB.
ClassA obj = new ClassB();
obj.showValue();
What, if anything, is printed when the code segment is executed?