✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
1 class Shape {
2 double square;
3 Shape (double r) {
4 square = 3.14 * r * r;
5 }
6 }
7 class Circle extends Shape {
8 double r;
9 Circle (double rad) {
10 super (rad);
11 r = rad;
12}
13}
Які зміни необхідно включити в текст програми, щоб виключити помилку?