Consider the following class declarations.

public class Parent
public void first()
System.out.println("P");
second();


public void second()
System.out.println("Q");



public class Child extends Parent
public void first()
System.out.println("R");


public void second()
System.out.println("S");



public class Grandchild extends Child
public void first()
System.out.println("T");


public void second()
System.out.println("U");



Which of the following code segments, if located in another class, will produce the output "PQRTS"?
1) Parent a = new Parent();
a.first();
Parent a = new Parent();
a.second();
Child b = new Child();
b.first();
Child b = new Child();
b.second();
Child c = new Child();
c.first();
Child c = new Child();
c.second();
Grandchild d = new Grandchild();
d.first();
Grandchild d = new Grandchild();
d.second();
Grandchild e = new Grandchild();
e.second();