日期:2014-05-20  浏览次数:20709 次

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

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

------解决方案--------------------
这种写法最好不要用。通常都是别人用来考试用的。