| |
|
when use hybride inhertance,virual function avoid the ambiguity.
Answer2:
I thnk virtual fns r declared with 'virtual' keyword nd it must be redifend in
the derivd classes. wen mor dan one classes derivs a methd in the base class,
dat method can be writn with virtual to avoid ambiguity.
|
|