在Java中,以下程序的输出结果是( )public class Super { public void print() {System.out.print("Super-->print"); }}public class Test extends Super { public void print() (System.out.print("Test-->print"); }public static void main(String[] args) {Super t = new Super();t.print();}}
A. Super->print
B. Test->print
C. Super->print Test->print
D. 编译错误