![](https://cos-cdn.shuashuati.com/pipixue-web/2020-1231-2005-12/ti_inject-812ce.png)
interface Show{ void show(); } class A implements Show{ public void show(){ System.out.println("I love This Game"); } } class B implements Show{ public void show(){ System.out.println("我喜欢看NBA"); } } class C{ public void f(Show s){ //接口作为参数 s.show(); } } public class Example5_13{ public static void main(String args[]){ C c=new C(); c.f(new A()); c.f(new B()); } } 输出结果的第一行( ) 输出结果的第二行( )