閱讀下面的程序,分析代碼是否能夠編譯通過,如果能編譯通過,請(qǐng)列出運(yùn)行的結(jié)果,否則請(qǐng)說明編譯失敗的原因。 public class Demo { public static void main(String[] args) { Father f=new Son(); f.show(); } } class Father{ public void show(){ System.out.print("father show"); } } class Son extends Father{ public void show(){ super.show(); System.out.print("son show"); } }