package com.imooc;
public class Cellphone extends Telphone {
@Override
public void call() {
// TODO Auto-generated method stub
}
@Override
public void message() {
// TODO Auto-generated method stub
}
}在cell和message下划红线,提示(Multiple markers at this line
- implements com.imooc.Telphone.message
- The method message() of type Cellphone must override or implement a supertype )你把@overside先删掉后保存,再打开,就没有了
没事的,测试程序运行一下就可以了
你在方法里填上执行语句试试,不行就把你的那个父类Telphone也贴上来呗
你的问题是啥啊?