Polymorphism: Difference between revisions

Content added Content deleted
Line 2,359: Line 2,359:
}
}
}
}

\\ pA is a pointer to D (a named group)
pA->D
Print pA=D, pA=Z
pA=>Print
\\ pA is a pointer to a copy of D (a float group)
pA->(D)
Print pA=D, pA=Z
pA=>Print

</lang>
</lang>