logo

Crowdly

Browser

Add to Chrome

Даны два класса A и B. class A { public:          A();          string...

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

Даны два класса A и B.

class A

{

public:

         A();

         string getName();

         virtual void print();

         virtual void change();

private:

         int id;

         string name;

};

class B: public A

{

public:

         B();

         void show();

         void change();

private:

         int d;

         float num;

};

Сколько методов (не считая конструкторы) будет доступно классу A и классу B?

More questions like this

Want instant access to all verified answers on sdo.sut.ru?

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

Browser

Add to Chrome