Given the following code:
```
class A {
public void show() {
System.out.println("A");
}
}
class B extends A {
public void show() {
System.out.println("B");
}
}
class C extends B {
public void show() {
System.out.println("C");
}
}
```
What will be the output when the following code is executed?
```
A obj = new C();
obj.show();
```