logo

Crowdly

Browser

Add to Chrome

У програмі наведено таке опис: 1 class A { 2 int a; 3 A (int x) { 4 ...

✅ 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 }

Виконання програми завершилося помилкою. Яка зміна необхідно внести, щоб виключити помилку?

0%
More questions like this

Want instant access to all verified answers on moodle.chnu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome