小白求教:下滑线的部分显示有误 请问为什么?
package com.project5;
public class Circle extends Shape {
@Override
public void C(double r){
// TODO Auto-generated method stub
double cc=3.14;
double CC=2*cc*r;
System.out.println("C"+CC);
}
@Override
public void S(double r) {
// TODO Auto-generated method stub
double cc=3.14;
double SS=cc*r*r;
System.out.println("S"+SS);
}
}