Telegram Group 🔥🔥🔥
Get answers in minutes
Questions answered :
48
/50
Answer verified
Which of the following statement is correct about the program given below
#include<iostream.h>
class BixBase
{
int x, y;
public
BixBase(int xx = 10, int yy = 10)
{
x = xx;
y = yy;
}
void Show()
{
cout<< x * y << endl;
}
};
class BixDerived
{
private
BixBase objBase;
public
BixDerived(int xx, int yy) : objBase(xx, yy)
{
objBase.Show();
}
};
int main()
{
BixDerived objDev(10, 20);
return 0;
}
🗓 Jul 10, 2021
votes
Christina
🌐 India
like it
votes
Mia
🌐 India
Thanks for the answer
Was your question answered?
Thanks for the feedback! ✅
Want to get famous? 📸
Answer question and get 🤩 high-lighted on our homepage.