✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which of the following feature of OOPs is not used in the following C++ code?
class A
{
int i;
public:
void print(){cout<<"hello"<<i;}
}
class B: public A
{
int j;
public:
void assign(int a){j = a;}
}
a) Abstractionb) Encapsulationc) Inheritanced) Polymorphism
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!