问以下哪个类的定义是合法的? 有接口定义: package business; interface Info { public void show(); }
A.
package impl; import business.*; class A extends Info { }
B.
package impl; import business.*; class A implements Info{ public void show(){ } }
C.
package business; import business.*; class A implements Info{ public void show(){ } }
D.
package business; import business.*; class A implements Info{ void show(){ } }