1.

Explain Virtual Function?

Answer»

VIRTUAL functions are the functions by which we can implement the CONCEPT of POLYMORPHISM ,ie one name with several distinct forms.a f'n preceded by a virtual keyword makes a function virtual MEANS the compiler turns on the mechanism to perform late BINDING or dynamic binding.more of all,the same function name can be used to perform different tasks .

virtual functions are the functions by which we can implement the concept of polymorphism ,ie one name with several distinct forms.a f'n preceded by a virtual keyword makes a function virtual means the compiler turns on the mechanism to perform late binding or dynamic binding.more of all,the same function name can be used to perform different tasks .



Discussion

No Comment Found