下列程序的运行的结果是( )。class parent {void test() {System.out.print("parent");}}public class child extends parent {void test() {super.test();System.out.print(" child");}public static void main(String args[]){child x=new child();x.test();}}
A. parent child
B. child
C. parent
D. child parent