下列Java代码,运行后正确的输出结果是( )。classParent{publicParent(){System.out.print(”parent”);}}publicclassChildextendsParent{Child(Strings){System.out.println(s);}publicstaticvoidmain(String[]args){Childchild=newChild(”child”);}} A. child B. parent child C. child parent D. 编译错误