logo

Crowdly

Дано визначення класів: class C1 {   public:            void aPolymorp...

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

Дано

визначення класів:

class C1 {

  public:

           void

aPolymorphMethod(); //

поліморфний метод

};

class C2: public C1 {

  public:

           void

aMethod();

};

void C1::aPolymorphMethod()

       aMethod();

}

void C2::aMethod(){}

      Виправити помилки у визначенні цих класів,

які роблять неможливим поліморфізм. Відповідь пояснити.

More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

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