logo

Crowdly

Browser

Add to Chrome

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

✅ 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 int b;

4}

5 class B extends A {

6 int b;

7 ...

8 }

Яким кодом необхідно доповнити опис конструктора класу B, що успадковує клас A, щоб при створенні об'кта класу B, змінні класу A приймали значення 1?

0%
0%
0%
0%
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