logo

Crowdly

Browser

Add to Chrome

Які змінні класу А доступні його спадкоємцю класу B, якщо вони визначені в одном...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Які змінні класу А доступні його спадкоємцю класу B, якщо вони визначені в одному пакеті?

1 class A {

2 final int a = 5;

3 protected double c;

4 protected int q;

5 private int j;

6}

7 class B extends A {

8 int c;

9 B (int b1, int b2) {

10 super ();

11 c = b1;

12}

13}

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