class A
{
int i;
public:
void print(){cout<<"hello"<<i;}
}
class B: public A
{
int j;
public:
void assign(int a){j = a;}
}
a) Abstraction
b) Encapsulation
c) Inheritance
d) Polymorphism
Which of the following feature of OOPs is not used in the following C++ code?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which of the following feature of OOPs is not used in the following C++ code?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!