接口有关问题.

接口问题...在线等!!!interface A{double test() }interface B{void test() }public class TestInterfac

接口问题...在线等!!!

interface A
{
  double test() ;
}
interface B
{
  void test() ;
}
public class TestInterface implements A,B{
  //现在里面怎么办?????
//public double test()
//{
//return 1.0 ;
//}
//public void test(){}
}

[解决办法]
这种写法最好不要用。通常都是别人用来考试用的。