class A
{
void show1()
{
System.out.println("show1 A");
}
}
class B
{
void show2()
{
System.out.println("show2 B");
}
}
class C extends A,B
{
public static void main(String[] args)
{
C.c = new C();
c.show1();
}
}
怎么编译是会出现Demo.java:19: 错误: 需要'{'
class C extends A,B
^ |