
Mitron Polymorphism
Mitron Polymorphism - Please Don't Execute
class IMF
{
}
class WB
{
}
class Vatican
{
}
class Sonia: Vatican
{
}
class MMS : IMF, WB
{
Sonia *madam;
MMS()
{
madam = new Sonia();
}
virtual void Show() = 0;
private FDI(int p1, int p2);
}
class NAMO: MMS
{
public FDI(int p1, int p2):FDI(1,1);
public FDI_1(int p,...);
public FDI_2(int p,...);
public FDI_3(int p,...);
.
.
.
public FDI_n(int p,...);
}
int main()
{
WB *mitron1 = new NAMO();
IMF *mitron2 = new NAMO();
NAMO *mitron3 = new NAMO();
mitron1->FDI(......);
mitron2->FDI(......);
mitron3->FDI(......);
.
.
.
}
Leave Mitron Polymorphism to:
Read more #mitron posts
Best Posts From kapilbishnoi
We have not curated any of kapilbishnoi's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.