employer cover photo
employer logo
employer logo

Tata Consultancy Services

Part of Tata Group

Engaged Employer

Tata Consultancy Services Interview Question

What is virtual function ?

Interview Answer

Anonymous

Sep 2, 2017

I have explained it in C++, that is using inheritance concept i declare a base class pointer and use that to acces the overridden base class function (I will override the base class function in derived class) So we can place virtual keyword in the base class function and can acess it and He told me to write program for that