4.Is the following code an Example of Dynamic Binding Explain? class Base{Public:virtual Bool Dosomething()------------------};class Derived1: public Base{Public:Bool Dosomething();---------------------------------};class Derived2: public Base{Public:Bool Dosomething();---------------------------------};void main(){Derived1 derived1;Derived2 derived2;::process(derived1);::process(derived2);}::Process(Base& Object){Object.Dosomething();}What will happen if in the above code in the base class the keyword virtual is removed?

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions