✅ 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(){}
Виправити помилки у визначенні цих класів, які роблять неможливим поліморфізм. Відповідь пояснити.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!