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