1Which of the following best describes the code below?
Class Rectangle {
double getArea(double length, double width){
return length * width;
}
}
Class Square extends Rectangle{
double getArea(double size){
return size * size;
}
}