试题详情
单项选择题 现有:  interface Data {public void load();}  abstract class Info {public abstract void load();}      下列类定义中正确使用Data和Info的是哪项?() 

A、 public class Employee implements Info extends Data { public void load(){/*dosomething*/}     }

B、public class Employee extends Inf.implements Data{ public void load() {/*do something*/}     }

C、public class Empl.yee implements Inf extends Data{ public void Data.1oad(){* do something*/}     public void load(){/*do something*/}     }

D、public class Employee extends Inf implements Data  {  public void Data.1oad()  {/*do something*/)     public void info.1oad(){/*do something*/}    }

  • B
  • 关注下方微信公众号,在线模考后查看

热门试题