请求大神帮忙看一下,错误有好多
public abstract class shape{
public abstract double C();
public abstract double S();}
public class Rectaugle extands shape {
double a=4.5,b=2.1;
public double Rectaugle (){
double a=4.5;
double b=2.1;
double C=(a+b)*2;
double S=a*b;
return C;
return S;
System.out.println("矩形周长为"+C);
System.out.println("面积为"+S);
}}
public class Circle extands shape {
public double Circle (){
final double p=3.14;
double r=2.1;
double C=2*p*r;
double s=p*r*r;
return C;
return S;
System.out.println("圆形周长为"+C);
System.out.println("面积是"+S);}
}}
public class Hello{
public static void main (String [] args){
shape s1=new Rectaugle();
shape s2=new Circle();
s1.Rectaugle();
s2.Circle();}
}