请问下边代码怎么老提示错误呢?
请问下面代码哪里有问题?public class Circle extends Shape { final float pi=3.14f; float r=8; @Overridepublic void cir() { // TODO Auto-generated method stub float cir=2*r*pi; System.out.println("the cir is:"+cir); } @Override public void area() { // TODO Auto-generated method stub float s=r*r*pi; System.out.println("th area is:"+s); } } 错误信息提示为:The method c() of type Circle must override or implement a supertype method