大家来帮我看下什么问题
interface Inter { public static final int NUM = 3; public abstract void show(); } interface Inter1{ public abstract void show(); } class Test implements Inter,Inter1{ public void show() { System.out.println("多继承方法被覆盖!"); } } public class InterfaDemo { public static void main(String[] args) { Test t=new Test(); System.out.println(t.NUM); System.out.println(Test.NUM); System.out.println(Inter.NUM); System.out.println(t.show()); } }
为什么System.out.println(t.show());这一段报错啊